Skip to content

PondC/MonkeyWeb

 
 

Repository files navigation

MONKEY WEB

This site is for using in Monkey

Getting Started

Prerequisite

  1. MongoDB
  2. Node.js

Note: This web using Pug/Jade.

Installing

After clone or pull from My GitHub. You must run this before npm install And run this on your directory

mongod
node .

Add new web page

For generate page from add this code at web flow.

app.get(URL,[option],function(req,res){
	func...
	return res.status(xxx).render(Page,[option]);
});

Post method

Phase II (V1)

Course

  • post/v1/allCourse get course data.
    • req {year, quarter}
    • return {courseID, courseName, day, tutorName, studentCount, room, grade}

Quarter

  • post/v1/listQuarter get all quarter.
    • req {status[option]} "public", "private", "protect"
    • return [{year, quarter, name, quarterID, status, maxSeat, week}]

QR

  • post/v1/requestQR get String for generate QR code.
    • req {subject, ageGroup, level, difficulty, number, rev, subRev, alternative[option], supplement[option]}
    • return {hw, skill, test, hot}

Phase I

Under creating.

TODO

Under creating.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.1%
  • HTML 28.2%
  • CSS 16.7%