harshmange44 / Subject-Management-Microservice

Home Page:https://subject-mgmt-service.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subject-Management-Microservice

DEMO

https://subject-mgmt-service.herokuapp.com/

##Languages

HTML

CSS

JavaScript

##Technologies

Node.Js

MongoDB

Express.Js

Installation

npm install

Start Server

node server.js

REST APIs

Create Staff Member: POST /api/staffmembers (Parse info using body-parser)

Create Subject: POST /api/staffmembers/:username/subjects (Parse info using body-parser)

Get Subject with queries: GET /api/staffmembers/:_id?[sub_name][&sub_code][&prof_name]

[ ] = optional & sub_name = subject name sub_code = subject code prof_name = professor name

i.e./api/staffmembers/harshmange?prof_name=ABCD&sub_code=MAT100

Output Snapshots

Homepage.PNG staff_mem_created.PNG staff_auth_not_found.PNG staff_auth_found_subject_created.PNG get_subject_by_sub_name_&_professor_name.PNG get_subject_by_professor_name.PNG get_subject_by_name.PNG