- Project Description
- Technologies Used
- Architecture
- Key Features
- Documentation
- Installation
- Docker
- Contributors And Authors
Riwi Cine API is a RESTful enterprise API for managing a sports movies platform:
products, orders, users, authentication, roles, and more.
Built with Node.js, TypeScript, and PostgreSQL under a modular and scalable architecture.
Its goal is to serve as a reliable backend for web or mobile applications.
| Category | Technologies |
|---|---|
| Language | TypeScript |
| Runtime | Node.js |
| Framework | Express |
| Database | PostgreSQL + Sequelize |
| Authentication | JWT + bcrypt |
| Documentation | Swagger / OpenAPI |
| Testing | Jest |
| Containers | Docker / Docker Compose |
app/src/
├── controllers/ # HTTP request handlers
├── repositories/ # Data access layer
├── dto/ # Data validation objects
├── models/ # Database models
├── routes/ # API endpoints
├── services/ # Business logic
├── middleware/ # Custom middlewares
└── seeders/ # Database seeders
- Modular Architecture: REPOSITORIES/DTO patterns with service layer
- Security: JWT authentication + RBAC authorization
- Validation: Automatic request validation with class-validator
- Documentation: Auto-generated Swagger docs
- Database: Automated migrations and seeders
- Testing: Jest configuration for unit tests
Detailed documentation available in /docs:
# Clone repository
git clone <repository-url>
cd workdir
# Install dependencies
cd app && npm install
# Configure environment
cp .env.example .env
# Start with Docker
docker-compose up -d
# Or start in development mode
npm run dev# Start all services
docker-compose up -d
# View logs
docker-compose logs -f
# Stop services
docker-compose down
REM Start all services
docker-compose up -d
REM alternative
docker-compose up --build
REM View logs
docker-compose logs -f
REM Stop services
docker-compose down
# Start all services
docker-compose up -d
# alternative
docker-compose up --build
# View logs
docker-compose logs -f
# Stop services
docker-compose down
| Author | Role | Path |
|---|---|---|
| Riwi Coders | Backend Developers | Node |
Made with by Riwi Developers