MySql setup:
- Create
organizer
db. src/main/resources/application.properties
assumes mysql user is root without password
Todo:
-
Create Calendar entity class (Done)
-
Create CRUD calls for Calendar (Done)
/calendar/add?name=calend1&description=descr1
/calendar/all
/calendar/1
/calendar/1/update?name=calend1&description=descr1
name and description are optional
/calendar/delete/1
-
Create Event entity class
-
Create CRUD calls for Event
-
Add views
Build:
mvn clean install
Run:
java -jar target/organizer-0.1.0.jar
Useful links:
- Basic tutorial: https://spring.io/guides/gs/serving-web-content/
- SpringBoot + MySQL guide: https://spring.io/guides/gs/accessing-data-mysql/