Educational Platefore is a comprehensive API-based platform designed to enhance teaching and learning experiences. Built using NestJS, MySQL, TypeORM, and JWT for authentication, this project provides a robust back-end system for managing educational resources, including courses, assignments, attendance, and more. Swagger has been integrated for API documentation, making it easy for developers to explore and integrate with the API.
- User Authentication & Authorization: Secure access using JWT.
- Course Management: CRUD operations for courses and their materials.
- Assignments & Submissions: Manage assignments and track submissions.
- Lecture & Attendance: Track lectures and student attendance.
- Learning Modules: Includes quizzes, feedback, and interactive assignments.
- API Documentation: Swagger documentation for seamless API exploration.
- Backend: NestJS
- Database: MySQL
- ORM: TypeORM
- Authentication: JWT (JSON Web Tokens)
- API Documentation: Swagger
npm install
Make sure you have the following installed:
- Node.js (v14.x or later)
- MySQL (v8.x or later)
- NestJS CLI
- Clone the repository:
git clone https://github.com/yourusername/educational-platefore.git cd educational-platefore Create a .env file with the following environment variables:
- Create a .env file with the following environment variables:
DB_HOST=localhost
DB_PORT=3306
DB_USER=root
DB_PASSWORD=yourpassword
DB_NAME=education_platform
JWT_SECRET=your_jwt_secret_key
- Run MySQL and create the database:
- You will find the database sql file in the root directory.
- Start the server:
npm run start
Access Swagger documentation: Navigate to http://localhost:3000/api-docs to explore the API using Swagger.