git clone https://github.com/lucianomp9/Notes-SPA
Java, Spring Boot, Hibernate, Design patterns (MVC, DTO's, Dependency Inyection), Exception handling.
spring.datasource.username= your-username
spring.datasource.password= your-password
spring.datasource.url=jdbc:mysql://localhost/notesappdb?useSSL=false&serverTimeZone=UTC
Open your MySQL client and create the database using the creation script provided at: src/main/resources/dbScript.sql
Open the project in your preferred IDE (e.g., IntelliJ IDEA, Eclipse).
Run the Application
Once you have configured the database and saved the changes in application.properties
, you can run the application.
Find the main class NotesApp
(annotated with @SpringBootApplication
) and click the run button in your development environment.
Open the terminal in the project directory and run npm install
to install dependencies.
Run the frontend application with the command npm run dev
.
The Entity-Relationship model corresponding to the database.
Note
If a category is requested for deletion while being assigned to a note, an alert will appear stating, ‘Error deleting category. There are notes associated with this category. Please delete them before removing the category.’
TODO: Allow multiple categories for a note