Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafaelmagalhaesguedes/authmicroservicets
Authentication Microservice provides features such as user authentication, profile management and role-based access control. The application is built with a focus on security and performance, ensuring that user data is protected while delivering a smooth user experience.
https://github.com/rafaelmagalhaesguedes/authmicroservicets
chai docker express hooks jwt-authentication mocha node postgresql react sequelize sinon styled-components typescript vite vitest vscode
Last synced: 9 days ago
JSON representation
Authentication Microservice provides features such as user authentication, profile management and role-based access control. The application is built with a focus on security and performance, ensuring that user data is protected while delivering a smooth user experience.
- Host: GitHub
- URL: https://github.com/rafaelmagalhaesguedes/authmicroservicets
- Owner: rafaelmagalhaesguedes
- Created: 2024-03-15T21:26:40.000Z (8 months ago)
- Default Branch: rafa-work-branch
- Last Pushed: 2024-07-12T15:28:28.000Z (4 months ago)
- Last Synced: 2024-10-11T22:41:48.567Z (about 1 month ago)
- Topics: chai, docker, express, hooks, jwt-authentication, mocha, node, postgresql, react, sequelize, sinon, styled-components, typescript, vite, vitest, vscode
- Language: TypeScript
- Homepage: https://deploy-user-service.vercel.app/
- Size: 1.95 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Authentication Microservice 👥
## ➡️ About
Authentication Microservice provides features such as user authentication, profile management and role-based access control. The application is built with a focus on security and performance, ensuring that user data is protected while delivering a smooth user experience.
## ➡️ Technologies
- Backend
- Node, Express, TypeScript, JWT, PostgresSQL, Redis, Docker, Mocha, Sinon, Chai- Frontend
- React, TypeScript, Vite, Vitest, Styled Components, Hooks- Deploy
- Vercel and Railway
## ➡️ Usage
1. Clone the project
2. Inside of root project, run npm install:apps
3. Run docker containers backend, Redis and database: npm run compose:up
4. Run frontend: npm run dev
## ➡️ Tests Coverage
```
1. Backend - Go to app/backend and run: npm run test:coverage or npm run test2. Frontend - Go to app/frontend and run: npm run coverage or npm run test
```
## ➡️ API Endpoints
### ▶️ Login
```
- POST /login - User login app- GET /login/role - Get user role - (requires authorization)
```### ▶️ User
```
- POST /user - Create a new user- GET /user - Read a list of all users - (requires authorization)
- PUT /user/:id - Update a user - (requires authorization)
- DELETE /user/:id - Delete a user - (requires authorization)
```
## ➡️ ScreenShots
## ▶️ Login
![Dashboard](screenshots/login.png)
## ▶️ Dashboard
![Dashboard](screenshots/dashboard.png)
## ▶️ Create User
![Dashboard](screenshots/registerUser.png)
## ▶️ Update User
![Dashboard](screenshots/updateUser.png)
## ▶️ Delete User
![Dashboard](screenshots/deleteUser.png)
## ▶️ Tests Backend Coverage (Unit and Integration tests)
![Dashboard](screenshots/testsBackend.png)