Skip to content

Birat-Poudel/Blogging-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a Robust Blogging Application Backend: A REST API

  • Established robust authentication using JSON Web Tokens and Implemented role-based authorization within the Spring Security framework.
  • Developed comprehensive CRUD operations for blog posts, seamlessly integrated comment and nested replies within comments, and enabled support for multiple post images.
  • Implemented exception handling mechanisms to ensure application resilience and provide informative error messages to users.

🚀 Getting started

To build and play with this app, follow these build instructions 👇

🎯 Prerequisites

Let's do some initial setup by configuring a MySQL database.

MySQL includes two components:

  • MySQL Database Server (Main engine of the database)
  • MySQL Workbench (Client GUI for interacting with the database)

Download Link of MySQL Community Server

Create a database, and update the database information in project's dotenv file.

MYSQL_DATABASE=
MYSQL_USERNAME=
MYSQL_PASSWORD=

💻 Running on your local machine

Make sure that you have:

  • Java 17
  • MySQL database created and project's dotenv file configured
  • Resolved dependencies present in pom.xml file

Remaining Tasks

  • Download Image
  • Role Based Authorization
  • JSON Response Optimization
  • Documentation
  • Test Driven Development
  • Category in Post
  • Comment JSON Response
  • Exception Handling Optimization

Contributions

Thank you for considering contributing to this project! We welcome contributions from the community to make our project better.

How to Contribute

  1. Fork the repository to your GitHub account.
  2. Create a new branch for your feature or bug fix: git checkout -b feature-branch.
  3. Make your changes and test them thoroughly.
  4. Commit your changes with a clear and concise message: git commit -m "Your message here".
  5. Push your branch to your fork: git push origin feature-branch.
  6. Submit a pull request to the main branch of our repository.

We appreciate your contribution and look forward to working together to improve our project!

About

Blogging Application backend REST API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages