Skip to content

hanhpp/classroom-api

 
 

Repository files navigation

Classroom API

REST API Nodejs server for classroom app

API Reference

Get all class data

  GET /api/class/

Create a class

  POST /api/class/
Parameter Type Description
className string Required Name of the class
section string Short description of the class

Login account

  POST /api/auth/login
Parameter Type Description
username string Required
password string Required

Get current user (use for check if logged in)

  GET /api/auth/
Parameter Type Description
sessionUser string Required

Run Locally

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

About

Nodejs REST api server for classroom-app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.7%
  • Handlebars 3.1%
  • CSS 1.2%