An open API service indexing awesome lists of open source software.

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.

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.

![Logo](https://miro.medium.com/max/800/1*M10QaO1mZCk_jvH2EBNmaQ.jpeg "title")

## 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