Build Status | Badge |
---|---|
Production | |
Master |
REST api for NavigoLearning. This project is built with Node.js, Express, and MariaDB.
Clone the repo
git clone git@github.com:NavigoLearn/API.git
Install NPM packages
npm install
Create a MariaDB database
CREATE DATABASE navigo_learn;
USE navigo_learn;
CREATE USER 'navigo_learn'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON navigo_learn.* TO 'navigo_learn'@'localhost';
Rename the env.example folder to env and fill in the values for development.env
Run tests to make sure everything works
npm test
Run the server
npm run dev