Giter VIP home page Giter VIP logo

ssss's Introduction

SSSS (Super Simple Scheduling System)

Architecture

The tools used for the application are:

  • Gradle: as dependency and task manager. It is simpler than maven because it uses groovy and it is easier to read and modify.
  • SpringBoot: for the application start up. It generates a simple jar file and executes it from command line, independent from an application server.
  • Spring Data: for the data management. It has the repositories, and they makes the data management and the queries simpler.
  • Spring MVC: for the rest controllers. It makes the rest mapping and management in a simple way. And also with the autowired annotation, it helps to manage the components in every place of the application.

For data management, it is using H2 database in memory.

The structure of the application is:

  • Main application: org.exercise.ssss
  • Model entities: org.exercise.ssss.model
  • Repositories: org.exercise.ssss.dao
  • Services: org.exercise.ssss.services
  • Rest controllers: org.exercise.ssss.controller
  • Database initialization: org.exercise.ssss.initdb

Running

Run the application with the command:

gradle bootRun

Endpoints

Students

List

GET /api/students/

Search

GET /api/students/?keyword=[keyword]

Get

GET /api/students/{id}

Add

POST /api/students/{id}
{
  "studentId": String,
  "lastName": String,
  "firstName": String
}

Update

PUT /api/students/{id}
{
  "studentId": String,
  "lastName": String,
  "firstName": String
}

Delete

DELETE /api/students/{id}

Classes

GET /api/students/{id}/classes

Classes

List

GET /api/classes/

Search

GET /api/classes/?keyword=[keyword]

Get

GET /api/classes/{id}

Add

POST /api/classes/{id}
{
  "code": String,
  "title": String,
  "description": String
}

Update

PUT /api/classes/{id}
{
  "code": String,
  "title": String,
  "description": String
}

Delete

DELETE /api/classes/{id}

Classes

GET /api/classes/{id}/students

ssss's People

Contributors

grisaf avatar

Watchers

James Cloos avatar  avatar

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.