Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.36 KB

README.MD

File metadata and controls

53 lines (34 loc) · 1.36 KB

LMS BACKEND API

This project contains the backend API code for the LMS Front end Application

Configuration

Create a development.json file under the ./app/config directory. Populate the json file like so:

{
    "host" : "http://localhost:3000",
    "dbURI": "<YOUR MONGODB URL>" #mongodb://<dbuser>:<dbpassword>@ds113736.mlab.com:13736/erp,
    "sessionSecret": "f31f2f4e88b1f4c29a4542671b247f9b",
    "tokenExpire": 5300,
    "port": 3000,
    "domain": "<Your preferred domain>"#unilag.edu.ng
}

Installation

$ cd lms-backend-api
$ npm install
$ npm run start

Database collections for dev setup

https://1drv.ms/f/c/7cc8e33facc085db/EtuFwKw_48gggHzJFAAAAAABLvhv13JGfX97f0sF6zVhWA?e=vvsCpK

Live Demo

SOME API PATHS

/api/courses

/api/departments

/api/faculty

/api/programmes

/applicant/register

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT