Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timothewt/springauthbackend
A Java Spring backend with a complete authentication system and an organized API structure for user management.
https://github.com/timothewt/springauthbackend
api backend java jwt spring spring-boot spring-security spring-security-jwt
Last synced: 6 days ago
JSON representation
A Java Spring backend with a complete authentication system and an organized API structure for user management.
- Host: GitHub
- URL: https://github.com/timothewt/springauthbackend
- Owner: timothewt
- License: mit
- Created: 2024-10-17T21:30:04.000Z (22 days ago)
- Default Branch: master
- Last Pushed: 2024-10-23T21:09:40.000Z (16 days ago)
- Last Synced: 2024-11-02T03:06:01.516Z (6 days ago)
- Topics: api, backend, java, jwt, spring, spring-boot, spring-security, spring-security-jwt
- Language: Java
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java Spring Backend with Authentication System
This repository provides a foundational implementation of a backend using Java Spring (v3.3.4), featuring a fully functional authentication system. It supports user sign-up, sign-in, and sign-out, along with persistent authentication using tokens. The setup includes a basic API structure that can be easily extended for more complex applications.## Features
- User Authentication: Secure login, registration, and logout flows using JWT.
- Persistent Authentication: Sessions remain active even after refreshing or closing the application using Refresh Tokens.
- API Structure: Organized to facilitate the integration of additional features like user roles and profile management.## Technologies Used
- Java Spring: v3.3.4 – A powerful framework for building robust backend applications.
- Spring Security: For secure authentication and authorization.## Getting Started
To run this project locally:
1. Clone the repository:
```bash
git clone https://github.com/timothewt/springauthbackend.git
```
2. Build the project:
```bash
./mvnw clean install
```
3. Run the application:
```bash
./mvnw spring-boot:run
```
The API will be accessible at `http://localhost:8080`.## Reference
[Spring boot 3.0 - Secure your API with JWT Token - Ali Bouali](https://www.youtube.com/watch?v=BVdQ3iuovg0)