Sign inSign up

yousef2005/coursesplatform-nestjs

By yousef2005

•Updated 8 months ago

Production-ready NestJS courses platform with PostgreSQL, Docker, and TypeORM.

Image
0

1.4K

yousef2005/coursesplatform-nestjs repository overview

⁠Courses Platform - NestJS

A production-ready online courses platform backend built with NestJS, TypeORM, and PostgreSQL. This project demonstrates a modular, scalable architecture suitable for modern e-learning applications and containerized deployments.

⁠Features

  • User authentication and authorization
  • Role-based access control (Student, Instructor, Admin)
  • Course and program management
  • Lessons, quizzes, and assignments
  • Student enrollment tracking
  • Certificate management
  • File uploads for assignments, videos, and images
  • PostgreSQL database integration
  • Docker support
  • Production-ready API

⁠Tech Stack

  • NestJS
  • TypeScript
  • TypeORM
  • PostgreSQL
  • Docker
  • Node.js

⁠Image Highlights

  • Production-ready Docker image
  • Containerized NestJS application
  • PostgreSQL support
  • Modular architecture
  • RESTful API
  • Optimized for development and deployment

⁠Exposed Port

3000

⁠Run

docker run -d -p 3000:3000 yousef2005/coursesplatform-nestjs:latest

⁠Environment Variables

Create a .env file before running the application.

DB_HOST=localhost
DB_PORT=5432
DB_USER=youruser
DB_PASS=yourpass
DB_NAME=courses_platform

⁠Build

docker build -t coursesplatform-nestjs .

⁠Development

npm install
npm run start:dev

⁠Production

npm run build
npm run start:prod

⁠Project Structure

src/
├── modules/
├── migrations/
├── common/
├── config/
└── main.ts

uploads/

⁠API Modules

  • Authentication
  • Users
  • Courses
  • Programs
  • Lessons
  • Quizzes
  • Assignments
  • Enrollments
  • Certificates
  • File Uploads

⁠Use Cases

  • Learning Management Systems (LMS)
  • Online education platforms
  • University portals
  • Course management systems
  • REST API development
  • Docker and NestJS learning

⁠License

MIT

Tag summary

Content type

Image

Digest

sha256:388085eee…

Size

135.9 MB

Last updated

8 months ago

docker pull yousef2005/coursesplatform-nestjs