The following is simple todo REST API using the Spring Boot Framework. The API allow you to add item to a to-do list, update, select and remove from the list.
- Make sure you have java JDK and Maven installed
- Make sure you have a Mysql server running.
- Create a database with the following name: todo_db, you can modify it in the application.properties file with this line: spring.datasource.url=jdbc:mysql://localhost:3306/todo_db?autoReconnect=true&
- Modify the username and pawsord in the file mention above with this line: spring.datasource.username=testUsername spring.datasource.password=testpasword
- Run the application using your preferred IDE (IntelliJ, STS)