waqaskhan540 / QuestionAnswerApp

A simple app for asking questions and posting answers, built using React and ASP.NET Core.
6 stars 2 forks source link
asp mysql react

QnA

.NET Core

A simple app for asking questions and posting answers, built using React and ASP.NET Core

QnA

Requirements

How to Setup ?

  1. cd into the api project

    cd server\Server\Api

  2. restore nuget packages

    dotnet restore

  3. build the project

    dotnet build

  4. run the project

    dotnet run

Running with Docker

The code contains the docker-compose.yml file which contains the necessary configurations for the app to run inside docker.

Simply run the following command:

docker-compose up

The above command will run the services inside docker containers at following URLs.

- WebApp: http://localhost:3000
- API: http://localhost:5000