Before you can start, make sure you have MongoDB installed and have started the port as specified in the MongoDB installation section.
Start the database port
mongod
Make sure to keep the terminal open at all times while using the system, as it needs to be running to keep the MongoDB port exposed.
mongodb://localhost:27017
.Download and install Node.js: visit the official Node.js website at https://nodejs.org (NODE VERSION MUST BE 20.11.1
)
Clone this repository
git clone https://github.com/JaviFdez7/ISPP-G1-Talent.git
Install the dependencies (from the root directory)
npm install
Create .env file from .env.example file
GH_TOKEN=<YOUR-GH-TOKEN>
Run the server Terminal 1 (frontend)
npm run install-frontend
npm run start-frontend
Terminal 2 (backend)
npm run install-backend
npm run start-backend
To create a module open a terminal it the root of the repoitory.
Then use create-backend-module MODULE_NAME VERSION |
|
---|---|
warning | MODULE_NAME must be written in snake-case |
info | VERSION is an optional argument (default is v1) |
For example:
create-backend-module team-creator
create-backend-module team-creator v2
Download MongoDB Compass on your computer from the following link: download link
During the MongoDB installation, uncheck the option to install MongoDB as a service.