This is a training project built with React (TS + Bootstrap), Node.js (Express), and PostgreSQL (Prisma). The main goal was to implement a secure authentication flow and a responsive admin panel.
Deployed App: https://task4.miskaris.com
(Feel free to register a new user to test the email verification flow)
- Authentication: Registration with email verification (sending real emails).
- User Management: Admin panel to Block, Unblock, Delete and remove unverified users.
- Security:
- Database-level
UNIQUEconstraints for emails (no race conditions). - Immediate logout/redirection if the current user is blocked or deleted.
- Database-level
- Tech Stack: React, Express, Prisma (PostgreSQL), Docker Compose.
The project is fully containerized.
- Clone the repository.
- Rename
.env.exampleto.env. (double check the values and enter those that apply to your situation) - Run with Docker Compose:
docker-compose up --build
- Open http://localhost:5173 in your browser.
Consult this file for more info on infrastructure used.