{"id":21700026,"url":"https://github.com/anandpiyush1521/journalapp","last_synced_at":"2026-04-15T08:35:44.644Z","repository":{"id":226952054,"uuid":"768509161","full_name":"anandpiyush1521/journalApp","owner":"anandpiyush1521","description":"Spring Boot application with MongoDB for managing journal entries, including user creation, email notifications, and sentiment analysis.","archived":false,"fork":false,"pushed_at":"2024-05-11T13:37:13.000Z","size":26874,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T14:43:21.665Z","etag":null,"topics":["java","mongodb","sonarcloud","spring-boot","spring-security"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anandpiyush1521.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":"contributing.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-07T08:07:31.000Z","updated_at":"2024-08-23T17:35:37.000Z","dependencies_parsed_at":"2024-03-23T07:41:12.844Z","dependency_job_id":"2f81f5ec-a5dc-498b-be35-26ccede0637e","html_url":"https://github.com/anandpiyush1521/journalApp","commit_stats":null,"previous_names":["anandpiyush1521/journalapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandpiyush1521%2FjournalApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandpiyush1521%2FjournalApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandpiyush1521%2FjournalApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anandpiyush1521%2FjournalApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anandpiyush1521","download_url":"https://codeload.github.com/anandpiyush1521/journalApp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244644607,"owners_count":20486826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","mongodb","sonarcloud","spring-boot","spring-security"],"created_at":"2024-11-25T20:12:30.814Z","updated_at":"2026-04-15T08:35:39.592Z","avatar_url":"https://github.com/anandpiyush1521.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Journal App Backend\n\nThis 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.\n\n\n## Tech Stack\n\n**Spring Boot:** A powerful framework for building Java-based applications.\n\n**Maven:** A build automation tool used for managing dependencies and building the project.\n\n**MongoDB:** A NoSQL database used for storing journal entries.\n\n**Lombook:** A library used to reduce boilerplate code by generating getters, setters, constructors, etc. automatically.\n\n**Spring Security 6.0** Provides authentication and authorization capabilities for securing the application.\n\n\n\n## Installation\n\nClone the Repository:\n\n```bash\n  git clone \u003crepository-url\u003e\n```\n\nBuild the Project:\n\n```bash\n  cd JournalAppBackend\n  mvn clean install\n```\n\nConfigure MongoDB:\n\n```bash\n  Make sure MongoDB is installed and running on your system.\n  Update the MongoDB connection details in the application.properties file.\n```\n\nRun the Application:\n\n```bash\n  mvn spring-boot:run\n```\n    \n## API Reference - Usage\n\n#### Create a public user Entry\n\n```http\n  POST localhost:8080/journal/public/create-user\n```\n\n#### Create a Journal Entry\n\n```http\n  POST localhost:8080/journal\n```\n\n#### Get All Journal Entries\n\n```http\n  GET localhost:8080/journal\n```\n\n\n#### Get a Single Journal Entry\n\n```http\n  GET localhost:8080/journal/id/{myId}\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `myId`      | `ObjectId` | **Required**. Id of user to fetch user's journal Entry|\n\n#### Update a Journal Entry By ID\n\n```http\n  PUT localhost:8080/journal/id/{myId}\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `myId`      | `ObjectId` | **Required**. Id of user to Update user's journal Entry|\n\n#### Delete a Journal Entry By ID\n\n```http\n  DELETE localhost:8080/journal/id/{myId}\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `myId`      | `ObjectId` | **Required**. Id of user to Delete user's journal Entry|\n\n\n##### Additionally, two new functions have been added:\n\n#### Email Service:\n\n```bash\n  Allows users to receive notifications or summaries via email.\n```\n\n#### Sentiment Analysis:\n\n```bash\n  Provides sentiment analysis on journal content to gauge emotions or themes.\n```\nMake sure to include appropriate authentication headers if authentication is enabled.\n\n\n\n## Contributing\n\nContributions are always welcome!\n\nSee `contributing.md` for ways to get started.\n\nPlease adhere to this project's `code of conduct`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanandpiyush1521%2Fjournalapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanandpiyush1521%2Fjournalapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanandpiyush1521%2Fjournalapp/lists"}