Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0564440

Browse files
Readme file added
1 parent 195eb47 commit 0564440

File tree

1 file changed

+9
-22
lines changed

1 file changed

+9
-22
lines changed

‎angular-x-spring-security/README.md

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,14 @@
1-
# AngularXSpringSecurity
1+
# Authentication & Authorization Starter with Angular and Spring Boot
22

3-
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 15.2.10.
3+
Here is the backend repository: https://github.com/codeblox-codes/spring-boot-examples/tree/master/spring-security-full-stack
44

5-
## Development server
5+
This Spring Boot Authentication Starter provides a quick setup for implementing authentication in your Spring Boot applications using Spring Security and JWT (JSON Web Token) for secure communication between client and server.
66

7-
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.
7+
### Functionalities
8+
- Registration: By default the user has a USER role. When a user register an email containing a code is sent to the email. The user has to validate his account with the code sent.
9+
- Login: The user login using his email and his password. An access token and a refresh token are generated. The access token is used on the header of every request that requires authentication. And if the access token has expired, the user can request for another one using the refresh token. If the refresh token also has expired, the user is kicked out of his account.
10+
- Update password
811

9-
## Code scaffolding
12+
<!-- ### Endpoints
13+
![spring security starter endpoints](swagger.png) -->
1014

11-
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
12-
13-
## Build
14-
15-
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
16-
17-
## Running unit tests
18-
19-
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
20-
21-
## Running end-to-end tests
22-
23-
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
24-
25-
## Further help
26-
27-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /