-
You need a
PostgreSQLdatabase installed and configured. You can getPostgreSQLfrom here. -
You need
gitto clone the project repository. You can getgitfrom here. -
You must have
Node.jsand its package manager (npm) installed. You can get them from here. -
You can run
PostgreSQLwith 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 successfullyNow browse to the app at localhost:5000.