This project is a backend application for a Journal App built using Spring Boot, Maven, and MongoDB. It utilizes various features of Spring Boot including Transactional, Lombok project for reducing boilerplate code, and Spring Security 6.0 without WebSecurityConfigurerAdapter.
Spring Boot: A powerful framework for building Java-based applications.
Maven: A build automation tool used for managing dependencies and building the project.
MongoDB: A NoSQL database used for storing journal entries.
Lombook: A library used to reduce boilerplate code by generating getters, setters, constructors, etc. automatically.
Spring Security 6.0 Provides authentication and authorization capabilities for securing the application.
Clone the Repository:
git clone <repository-url>
Build the Project:
cd JournalAppBackend
mvn clean install
Configure MongoDB:
Make sure MongoDB is installed and running on your system.
Update the MongoDB connection details in the application.properties file.
Run the Application:
mvn spring-boot:run
POST localhost:8080/journal/public/create-user
POST localhost:8080/journal
GET localhost:8080/journal
GET localhost:8080/journal/id/{myId}
Parameter | Type | Description |
---|---|---|
myId |
ObjectId |
Required. Id of user to fetch user's journal Entry |
PUT localhost:8080/journal/id/{myId}
Parameter | Type | Description |
---|---|---|
myId |
ObjectId |
Required. Id of user to Update user's journal Entry |
DELETE localhost:8080/journal/id/{myId}
Parameter | Type | Description |
---|---|---|
myId |
ObjectId |
Required. Id of user to Delete user's journal Entry |
Allows users to receive notifications or summaries via email.
Provides sentiment analysis on journal content to gauge emotions or themes.
Make sure to include appropriate authentication headers if authentication is enabled.
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code of conduct
.