Backend part (Node & Express)
Go on official Node.js website and download the installer.
Also, be sure to have git
available in your PATH, npm
might need it (You can find git here).
If the installation was successful, you should be able to run the following command.
$ node --version
v18.14.0
$ npm --version
9.3.1
If you need to update npm
, you can run this command.
$ npm install npm -g
git clone https://github.com/fajarriv/RISTEK-OpRec-Backend.git
cd RISTEK-OpRec-Backend
Use npm
to install the dependency
npm install
Make sure your localhost port number 3001
is available. You can modify the port number inside .env
file.
To start the server run this command.
npm run start
You have started the server if it says Connected
in the terminal.