A simple app for asking questions and posting answers, built using React and ASP.NET Core
- .NET Core SDK 2.2
- MySQL
- MySQL Connector
- Docker (optional)
-
cd
into theapi
projectcd server\Server\Api
-
restore nuget packages
dotnet restore
-
build the project
dotnet build
-
run the project
dotnet run
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