This is a simple note-taking application built with Spring Boot that allows users to:
- Create and save notes.
- Upload notes from markdown files.
- Render markdown notes into HTML.
- Check grammar of notes using LanguageTool.
- Java 21
- Maven
- MySQL
- Clone the repository: git clone https://github.com/Developer-Roadmap-aizwal/Markdown-Note-taking-App.git
- Navigate to the project directory: cd Note-Taking-App
- Create a MySQL database named
notes. - Update the database credentials in
src/main/resources/application.properties. - Build the project: mvn clean install
- Run the application: mvn spring-boot:run
- The application will start on port 8005.
POST /notes: Create a new note.POST /notes/{noteId}/check-grammar: Check grammar of a note.POST /notes/{noteId}/render: Render a note in HTML.POST /notes/upload: Upload a note from a markdown file.
- Access the application through a web browser or API client.
- Use the API endpoints to interact with the application.
curl -X POST -H "Content-Type: application/json" -d '{"title": "My Note", "content": "This is my note."}' http://localhost:8005/ notescurl -X POST http://localhost:8005/ notes/ 1/ check- grammarcurl -X POST http://localhost:8005/ notes/ 1/ rendercurl -X POST -F "file=@my-note.md" http://localhost:8005/ notes/ upload- Spring Boot
- Spring Data JPA
- MySQL
- Flexmark
- LanguageTool
