https://github.com/sihamouda/social-app-express
A basic micro-service for blog app that supports authentication using JWT.
https://github.com/sihamouda/social-app-express
docker express jwt microservice microservices nodejs rest-api
Last synced: about 1 year ago
JSON representation
A basic micro-service for blog app that supports authentication using JWT.
- Host: GitHub
- URL: https://github.com/sihamouda/social-app-express
- Owner: sihamouda
- Created: 2022-11-30T10:32:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-08T13:49:56.000Z (over 3 years ago)
- Last Synced: 2025-03-25T14:43:48.807Z (about 1 year ago)
- Topics: docker, express, jwt, microservice, microservices, nodejs, rest-api
- Language: JavaScript
- Homepage:
- Size: 428 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Express App
This is an Express.JS REST API for a blog website.
It is a personal project to help me improve my devolepment skills and my network protocols knowledge.

## Instructions
1. Fill the .env files
2. Run docker-compose: `docker-compose up`
## Checklist
### API gateway
**check /api-docs for API details**
- [x] Routes all requests
- [x] Add to docker-compose
### User service
**check /api-docs for API details**
- [x] Authentication APIs : signup & login
- [x] Access Token generation
- [x] Refresh Token generation
- [x] Refresh Token Rotation
- [x] Reuse Detection
- [x] Has its own database
### Blog service
**check /api-docs for API details**
- [x] Create a blog API
- [x] List all blogs API
- [ ] List blogs by id
- [ ] Link blog with user
- [ ] Comment a blog
- [ ] React a blog
- [x] Has its own database