- Node js
- Express server
- Mocha and Chai
- Mongo/Mongoose datatabse
- Clone the repository
- Install packages by running
npm install
- open cmd type in
powershell
if you are using windows pc - copy and paste this commands
$env:NODE_ENV="production"
,$env:NODE_ENV="test"
,$env:NODE_ENV="development"
- Create
.env
in project root directory - Take a look at the
.env.example
file which is in the project root directory to have a clue on environment variables that are being used in this project - Copy all keys from the
.env.example
file to.env
file and add values to corresponding keys. These can be obtained from the project administrator
-
- Run
npm run dev
to start development server
- Run
-
- Run
npm run start
to start deployment server
- Run
-
- Run
npm run test
to test
- Run
- Navigate to project folder src and enter in
footprint
you will find in file calledaccess.log
open it you will see all manager logs