- JDK 8+
- node 12+
$ git clone https://github.com/shinjaeuk/simple-calendar.git
$ cd simple-calendar
$ ./build.sh
....
$ ./run.sh
.... ( control + c to exit )
Access : http://localhost:8080/
This web site is view of student. ( no mentor side )
Mentor has availble time from 21, Feb 2020 to 23, Feb 2020
The meeting is only 1 hour
If restart app, data is reset ( use to in-memory db - H2, data.sql)
This project contains Java Sprint Boot and React.JS Because of samll proejct
Java (Back-end)
- Spring Boot (2.2)
- Spring MVC
- Spring JPA
- H2DB
Java Script (Front-end)
- React.js (16)
- axios
- moment
- meterial-ui
root (Java Proejct )
├── src
│ └── main
│ └── java
...
└── webapp ( React.JS Proejct )
- GET /mentors/{id}/agenda ( get every data )
- Get a mentor's available times to make the schedule
- If the mentor is not found, It returns HTTP 404
- POST /mentors/{id}/agenda/{id}, request body { reason : '' }
- Make schedule
- If time is not available, It returns HTTP 409
- Mentor has available times ( Available value is 'true' at the first time)
- If student make the schedule, available value will be updated by 'false'