Skip to content

Commit 3d3dfce

Browse files
authored
Update README.md
1 parent a282759 commit 3d3dfce

File tree

1 file changed

+59
-30
lines changed

1 file changed

+59
-30
lines changed

README.md

Lines changed: 59 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,40 +11,69 @@ This is a Spring Boot-based authentication system developed for the Woro-media a
1111

1212
# Table of Contents
1313
* Features
14-
Technologies Used
15-
Project Structure
16-
How to Run
17-
Usage
18-
Testing
19-
Database Configuration
20-
Contact
14+
* Technologies Used
15+
* Project Structure
16+
* How to Run
17+
* Usage
18+
* Testing
19+
* Database Configuration
20+
* Contact
2121

2222
# Features
23-
User registration with username, email, and password
24-
User login with username or email and password
25-
Role-based access control with "ROLE_USER" and "ROLE_ADMIN" roles
26-
Admin panel accessible only to users with "ROLE_ADMIN" role
27-
Token-based authentication using JSON Web Tokens (JWT)
28-
Logout functionality
23+
* User registration with username, email, and password
24+
* User login with username or email and password
25+
* Role-based access control with "ROLE_USER" and "ROLE_ADMIN" roles
26+
* Admin panel accessible only to users with "ROLE_ADMIN" role
27+
* Token-based authentication using JSON Web Tokens (JWT)
28+
* Logout functionality
2929

3030
# Technologies Used
31-
Java 8
32-
Spring Boot
33-
Spring Security
34-
Spring Data JPA
35-
JWT (JSON Web Tokens)
36-
MySQL
37-
Maven
38-
JUnit and Mockito for testing
31+
* Java 8
32+
* Spring Boot
33+
* Spring Security
34+
* Spring Data JPA
35+
* JWT (JSON Web Tokens)
36+
* MySQL
37+
* Maven
38+
* JUnit and Mockito for testing
39+
3940
# Project Structure
40-
The project follows the standard Spring Boot project structure with separate packages for controllers, services, repositories, entities, payloads, and security configuration.
4141

42-
# The main packages are:
42+
* The project follows the standard Spring Boot project structure with separate packages for
43+
* controllers,
44+
* services,
45+
* repositories,
46+
* entities,
47+
* payloads, and
48+
* utils,
49+
* security configuration.
50+
51+
# The main packages are:
52+
* com.woromedia.auth.api.controller: Contains the REST API controllers.
53+
* com.woromedia.auth.api.entity: Contains JPA entity classes.
54+
* com.woromedia.auth.api.payload: Contains payload classes for request and response.
55+
* com.woromedia.auth.api.repository: Contains JPA repositories.
56+
* com.woromedia.auth.api.security: Contains security-related classes like JWT token provider,
57+
custom user details service, and authentication filter.
58+
* com.woromedia.auth.api.service: Contains service interfaces and their implementations.
59+
* com.woromedia.auth.api.utils: Contains utility classes.
60+
61+
# Dependencies
62+
63+
The project uses the following dependencies:
64+
65+
* Spring Boot Starter Web: This dependency enables the development of web applications using Spring Boot. It provides essential components for building RESTful APIs.
66+
67+
* Spring Boot Starter Data JPA: This dependency enables JPA (Java Persistence API) support in the application. It simplifies the interaction with the database.
68+
69+
* Spring Boot Starter Security: This dependency provides security support for Spring Boot applications. It allows you to secure your API endpoints and handle authentication and authorization.
70+
71+
* Spring Boot Starter Validation: This dependency enables validation support for the request payloads. It allows you to enforce constraints on the incoming request data.
72+
73+
* JUnit: This dependency is used for writing unit tests.
74+
75+
* Mockito: This dependency is used for mocking objects in unit tests.
76+
77+
* JWT (JSON Web Tokens): This dependency provides support for generating and validating JSON Web Tokens for token-based authentication.
4378

44-
com.woromedia.auth.api.controller: Contains the REST API controllers.
45-
com.woromedia.auth.api.entity: Contains JPA entity classes.
46-
com.woromedia.auth.api.payload: Contains payload classes for request and response.
47-
com.woromedia.auth.api.repository: Contains JPA repositories.
48-
com.woromedia.auth.api.security: Contains security-related classes like JWT token provider, custom user details service, and authentication filter.
49-
com.woromedia.auth.api.service: Contains service interfaces and their implementations.
50-
com.woromedia.auth.api.utils: Contains utility classes.
79+
* MySQL Connector/J: This dependency provides the MySQL JDBC driver to connect the application with the MySQL database.

0 commit comments

Comments
 (0)