This is a simple web application that allows users to create and manage their notes. It is built using Spring Boot as the backend and React as the frontend.
- Java 17 or higher
- Node.js and npm
- MySQL
Untitled.video.-.Made.with.Clipchamp.mp4
-
Clone the repository:
git clone https://github.com/your-username/spring-boot-react-notes.git cd spring-boot-react-notes
-
Configure the database:
Create a new MySQL database and update the configuration in
src/main/resources/application.properties
:spring.datasource.url=jdbc:mysql://localhost:3306/Notes/your-database-name spring.datasource.username=your-database-username spring.datasource.password=your-database-password
-
Build the backend:
cd server/Notes ./mvnw package
-
Run the backend:
java -jar target/Notes-0.0.1-SNAPSHOT.jar
-
Install frontend dependencies:
cd client npm install
-
Run the frontend:
npm start
-
Access the application:
Open http://localhost:3000 in your web browser.
- The homepage shows a list of notes.
- Click the "New Note" button to create a new note.
- Click the title of a note to view or edit its contents.
- Click the "Delete" button to delete a note.
Contributions are welcome! Please read the contributing guidelines before getting started.