Step 1 : Download and install PostgreSQL

Go to https://www.postgresql.org/download/ and download postgresql the latest version

 How to install posgresql for windows
How to install posgresql for Linux

Step 2 : Download and install nodejs

Click on this link to download nodejs executable file.

How to install nodejs for Linux 

Step 3 : check installation

open cmd terminal and write npm –version and node –version to check nodejs and npm installation

Step 4 : create database

open pg admin and write on databases -> create -> database…

 

type gym under databse input text then click on save button

Step 5 : install backend dependencies

go to backend folder, open cmd and write npm install to install dependencies

Step 6 : run backend application

go to backend folder and type node server.js to run backend application

Step 7 : install frontend dependencies

go to front folder, open cmd and write npm install to install dependencies

Step 8 : run frontend application

go to front folder and type npm run serve to run frontend application

Step 9 : access front office

Open your browser and type this url http://localhost:5000/

Step 10 : access backend office

Open your browser and type this url http://localhost:3000/