This repository includes the first Breakable Toy developed during the Spark program. It consists of a To Do application which uses the following stack:
- Front-end: React, Redux and Typescript.
- Back-end: Spring Boot and Java with an in-memory database (H2).
Here are some of they key features and functionalities of the application:
- CRUD for a todo.
- This includes setting a todo as complete or uncomplete.
- Filtering and sorting of records.
- Pagination
- Statistics for the average time between creation and done for all todo's and grouped by priority.
To set up this project on your local machine follow this instructions after cloning the repository:
Note: To run this project on your local machine you need to have installed node and the Java SDK. For the development of this project, I used node version
22.11
, npm version10.9.0
and Java version21.0.05
.
-
Go to the back-end project on your terminal
cd backend-todos
-
Install the required dependencies.
mvnw clean install
-
If you want to run the preloaded tests.
mvnw test
-
Running the application server
mvnw spring-boot:run
-
Go to the front-end project on your terminal.
cd client
-
Install the required dependencies.
npm install
-
If you want to run the preloaded tests.
npm run test
-
Running the application
npm run start
-
To access the web page, open your browser and go to http://localhost:8080/