Run the commands in the following order to run the project. (Before running the command make sure you have docker
, node.js
, next.js
and .NET6
installed in your device)
docker run --name Portfolio -e POSTGRES_USER=admin -e POSTGRES_PASSWORD=secret -p 5432:5432 -d postgres:latest
Change directory to API run dotnet build
then run dotnet watch run
Change directory to client/ run npm install
then run npm run dev
in your terminal.