-
You need a
PostgreSQL
database installed and configured. You can getPostgreSQL
from here. -
You need
git
to clone the project repository. You can getgit
from here. -
You must have
Node.js
and its package manager (npm
) installed. You can get them from here. -
You can run
PostgreSQL
with Docker:
docker-compose up -d
# OR
sudo docker run --name postgres -e POSTGRES_PASSWORD=postgres -d -p 5432:5432 postgres
- Open the terminal at the project directory and run the command:
npm install
cp .env.example .env
npm run db:init
npm start
- On Windows:
npm install
copy .env.example .env
npm run db:init
npm start
- You should see the server running with the output:
Listening on port 5000
Connection to database established successfully
Now browse to the app at localhost:5000
.