Skip to content

Latest commit

 

History

History
78 lines (58 loc) · 3.06 KB

README.md

File metadata and controls

78 lines (58 loc) · 3.06 KB

Projet-NodeJS-DevOps

The code was written by Louis Deveze & Maxime Tran & Sebastien Ye.

Travis Build : Travis Build

Content

This Project contains the following features

  • Populate a LevelDB database with two users and a few metrics for each one.
  • Authenticate using Login / Signin / Logout
  • Interact with the metrics contained in the database. CRUD operations
  • Graph visual of the metrics of a logged user
  • Security : Logged user can't see metrics of other users

Step to Test the project

  • Clone the repository on your desktop
  • Open the project folder on Visual Studio Code
  • Create a new Terminal

Warning

If you are using a Windows OS, you have to run this command as Administrator first:

npm install --global --production windows-build-tools
  • Run the command : npm install

Warning

If you are using Linux or MacOS, you have to create:

  1. db folder
  2. metrics folder inside db folder
  3. users folder inside db folder
  4. session folder inside db folder
  • Run the command : npm run populate
  • Run the command : npm test
  • Run the command : npm start
  • Open your web Browser and connect to http://localhost:8080

API Testing (POSTMAN)

Users

Metrics

Libraries

  • Express : minimalist web framework for Node.js
  • Bootstrap 4 : CSS and Javascript toolkit for web devloppers
  • JQuery : Javascript Library
  • EJS : Embedded Javascript Templating
  • LevelDB : Fast, Lightweight, prototyping database

Authors

  • Maxime TRAN
  • Louis DEVEZE
  • Sebastien Ye