This project is titled Edugate. The idea behind this project centers around providing result management system to schools expecially high school around the globe. Built at https://chingu.io/ Voyage-9
For development, you will only need Node.js version 10 and a node global package, npm, installed in your environement.
-
Just 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). -
You can install nodejs and npm easily with apt install, just run the following commands.
$ sudo apt install nodejs $ sudo apt install npm
-
You can find more information about the installation on the official Node.js website and the official NPM website.
If the installation was successful, you should be able to run the following command.
$ node --version
v10
$ npm --version
6.1.0
If you need to update npm
, you can make it using npm
! Cool right? After running the following command, just open again the command line and be happy.
$ npm install npm -g
$ git clone https://github.com/chingu-voyages/v9-bears-team-21
$ cd v9-bears-team-21
$ ensure node version is 10
$ add env variables(follow the .env-sample)
$ npm install
Verb | Endpoint | Description |
---|---|---|
GET | /api/v1 | Home |
GET | /api/v1/users/logout | Logout |
POST | /api/v1/users/signup | Signup |
POST | /api/v1/users/login | Login |
PATCH | /api/v1/users/changePassword | Change Password |
GET | /api/v1/results | View Results |
GET | /api/v1/users/:query | Search for Users |
PATCH | /api/v1/users/update | Update Users |
POST | /api/v1/results/addresults | Add new results(Teacher) |
PATCH | /api/v1/results/update | Update results(Teacher) |
GET | /api/v1/results/toplevel | View results(Teacher) |
DELETE | /api/v1/results/delete | Delete results(Teacher) |
POST | /api/v1/schools/create | Create School(Admin) |
DELETE | /api/v1/users/delete | Delete users (Admin) |
POST | /api/v1/users/addusers | Add Students (Admin) |
PATCH | /api/v1/user/verify/ | Verifies users email |
$ npm start
$ npm build
- Postgres
- Express
- Sequelize
- Node
- Mocha and Chai