We highly recommend you to use Docker compose
Make sure you have docker and docker-compose
docker-compose up --build
Now your server will be running on localhost:3000.
- Run
pnpm i
from the root directory - Run
pnpm build
from thewww
directory - Copy the
www/dist/www/
contents topublic/
- Create a
.env
file in the root directory - Obtain a mongodb uri either running locally or on atlas
- Paste the obtained uri in the
.env
file.
There is also a
.env.sample
file included for you reference
#Run this from the root of the directory
pnpm dev
Now your server will be running on localhost:3000.