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.
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.
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
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.
No Comments