REST API Nodejs server for classroom app
GET /api/class/
POST /api/class/
Parameter | Type | Description |
---|---|---|
className |
string |
Required Name of the class |
section |
string |
Short description of the class |
POST /api/auth/login
Parameter | Type | Description |
---|---|---|
username |
string |
Required |
password |
string |
Required |
GET /api/auth/
Parameter | Type | Description |
---|---|---|
sessionUser |
string |
Required |
Clone the project
git clone https://github.com/123prob7/classroom-api
Go to the project directory
cd classroom-api
Install dependencies
npm install
Start the server
npm start