https://github.com/abdelrahman998/blog-application
Designed and implemented a feature-rich Blog REST API, empowering users with seamless post and comment management, robust user authentication, and role-based security.
https://github.com/abdelrahman998/blog-application
java restful-api spring-boot springdata-jpa
Last synced: 3 months ago
JSON representation
Designed and implemented a feature-rich Blog REST API, empowering users with seamless post and comment management, robust user authentication, and role-based security.
- Host: GitHub
- URL: https://github.com/abdelrahman998/blog-application
- Owner: abdelrahman998
- Created: 2024-02-25T22:51:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-08T16:48:42.000Z (5 months ago)
- Last Synced: 2025-01-08T17:53:42.862Z (5 months ago)
- Topics: java, restful-api, spring-boot, springdata-jpa
- Language: Java
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Blog Application
This is a Spring Boot application for a blogging platform. It provides RESTful APIs for managing blog posts, user authentication, and authorization.
## Technologies Used
- Java
- Spring Boot
- Spring Security
- Hibernate
- MySQL
- Maven## Getting Started
### Prerequisites
- Java 11 or higher
- Maven
- MySQL### Installation
1. Clone the repository:
```sh
git clone https://github.com/abdelrahman998/spring-boot-blog.git
cd spring-boot-blog
```2. Configure the MySQL database:
- Create a database named `blog`.
- Update the database configuration in `src/main/resources/application.properties`:
```ini
spring.datasource.url=datasource_url_here
spring.datasource.username=your_username_here
spring.datasource.password=your_password_here
```3. Build the project:
```sh
mvn clean install
```4. Run the application:
```sh
mvn spring-boot:run
```## Security
This application uses JWT for authentication and authorization.