Skip to main content

Installation

Pre-Requisite

  • Git installed
  • Node js and npm
  • An IDE (preferably VS code)

 

Cloning Repository

The first step to clone the existing repository is to copy one of the links either with SSH or HTTPS.

Screenshot from 2023-03-28 19-37-04.png

 

Initial setup

The next step is to open the terminal in the desired folder for the cloning and use the git clone command followed by the link copied from gitlab.

Screenshot from 2023-03-28 19-43-55.png

Now create a .env file in the server-api folder and copy the contents of the .env_example file into the newly created .env file

Screenshot from 2023-03-28 19-52-46.png

enter the database uri using the credentials as shown.

Package installation

Change the current working directory to server-api using the cd server-api command and run npm install command to install all the dependencies.

Running the server

  • After successful installation of dependencies use the npm start command to start the server.
  • Congratulations! the installation and initial setup is now complete and the server is running on localhost:8080.