https://github.com/ivan-kleshnin/microservices-sandbox
https://github.com/ivan-kleshnin/microservices-sandbox
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ivan-kleshnin/microservices-sandbox
- Owner: ivan-kleshnin
- Created: 2022-06-14T11:23:28.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-23T16:13:57.000Z (over 3 years ago)
- Last Synced: 2025-02-01T22:12:55.344Z (8 months ago)
- Language: TypeScript
- Size: 925 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Microservices
**WIP.** Experimental sandbox of a fullstack web project with a microservice / microfrontend architecture.
Supported OS': Linux, MacOS
## Preview

## Setup
```
$ make init -- update "/etc/hosts", run once
$ make install -- install all dependencies
$ make seed -- seed the database
$ make dev / make start -- run the whole system in dev/prod modes
```## After Setup
```
"main" app
GET mydocker.local
GET mydocker.local/api/ping"auth" app
GET mydocker.local/auth/
GET mydocker.local/auth/api/ping
```## Tools
- Docker
- Docker-Compose
- ESlint
- JWT
- Make
- NextJS
- Next-Auth
- Nginx
- NodeJS
- React
- React-Query
- Yarn## Features
- [x] Gateway proxy with Nginx
- [x] Working live reload
- [x] Multi-Stage Dockerfile builds
- [x] Authentication example with Next-Auth (`CredentialsProvider`)
- [x] Next-Auth session fetched by React-Query
- [ ] Prod deploy (DGO, AWS EC2)
- [ ] Gitlab CI/CD (move repo)
- [ ] "Scalable" version with K8s, etc.---







