A full-stack SPA project that replicates the classic Pong game using a microservice architecture.
Check it out here: https://transcendence.at/sign-in-view
- Frontend: TypeScript + Tailwind CSS
- Backend: Node.js + Fastify + TypeScript + Prisma + Zod
- Blockchain: Avalanche + Solidity
- Monitoring: Prometheus + Grafana
- Security: JWT
- Database: SQLite
- Infra: Docker + Docker Compose + Nginx
- Others: Makefile, Shell scripts
make # build & start all services
make re # clean and restart everything
make clean # stop containers
make remove # full cleanup (images, cache, volumes)
make dev # dev mode (no cache)
make nuke # cleanup (images, volumes, but keeps cache)
make cli # build & start all services AND use cli makefile to run itImportant
Before running the project, make sure the following files exist:
-
.envfile located in./.env(decrypted automatically viaft_crypt.sh).
-
monitoring/secrets/grafana_admin_password.txtmonitoring/secrets/slack_webhook.txtssg/pong-api/.env(can be decrypted viaft_crypt.sh)
-
hostsfile modified by adding following lines:127.0.1.1 ft_transcendence20
| Service | URL |
|---|---|
| Frontend SPA | https://localhost:8080 |
| User API | http://localhost:3000/api |
| Game Service | ws://localhost:5000/ws |
| Swagger USERS (dev) | http://localhost:3000/api/documentation |
| Health-check USERS | http://localhost:3000/api/health-check |
Node version xxx- Docker compose version xxx
- Docker version xxx
- Make version xxx
Packages located in root and in microservices'spackage.jsonfile.ft_crypt.shscript to decrypt the sensitive files.
Paste here a short info/list of service's notes. E.g:
- Uses Zod for validation.
- Uses Prisma Client for database management.
- Follows route -> controller → service → schema pattern.