Git Product home page Git Product logo

nyansphere's Introduction

โˆ‡ stats --with-languages

GitHub Stats Card

Top Languages Card

nyansphere's People

Watchers

 avatar

nyansphere's Issues

`Grade` is awarded `Student` by `Submit`

Award Grade of Subject for Student by Submit when the deadline came.

An use case event occurs:

  1. When the deadline of Subject came.

It works:

  1. Award Grade of Subject.

Register `User`

Registration flow is:

  1. Fill in the registration form and send it.
  2. The security phrase is shown on your screen.
  3. Receive an email having the security phrase to check your email address.
  4. Click the check link in the email and jump the index page.

Registration has:

  • mail: string; user's e-mail address

API specs:

  • Endpoint: POST /register
  • Body: Registration JSON

Log in flow is:

  1. Type e-mail address and click the log in button.
  2. The security phrase is shown on your screen.
  3. Receive an email having the security phrase to check your email address.
  4. Click the log in link in the email and jump the index page.

API specs:

  • Endpoint: POST /login
  • Body: MD5 hash of the e-mail address

`Student` creates `Submit` for `Subject`

Student is an Entity.
Student is an User.
Student has:

  • participated: CourseId[];

Student creates Submit.

Submit is an Entity.
Submit has:

  • course: CourseId; that be submitted this.
  • code: string; to submit

API specs:

  • Endpoint: POST /submits/
  • Body: Submit JSON
  • Authentication: Digest

`Teacher` creates `Subject`

Teacher creates Subject.

Subject is an Entity.
Subject has:

  • course: CourseId; course owning this.
  • title: string;
  • desc: string; description.
  • defaultCode: string; default code for Student.

API specs:

  • Endpoint: POST /subjects/
  • Body: Subject JSON
  • Authentication: Digest

`Student` participates `Course`

Participation has:

  • student: StudentId; to participate
  • course: CourseId; that be participated

API specs:

  • Endpoint: POST /courses/participate
  • Body: Participation JSON
  • Authentication: Digest

Warn no submits for `Student`

Send an email warning about no submits although near the due date.

An use case event occurs:

  1. When the due date is almost 3 (custom) days.
  2. When Student has never submitted.

It works:

  1. Send an email to Student's mail address to warn it.

`Teacher` opens `Course`

Teacher is an Entity.
Teacher is an User.

User has:

  • mail: string; e-mail address.

Teacher has:

  • courses: CourseId[];

Course is an Entity.
Course has:

  • title: string;
  • desc: string; description

API specs:

  • Endpoint: POST /courses
  • Body: Course JSON
  • Authentication: Digest

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.