Skip to content

Sarswati Backend is a Node.js application built with Express and MongoDB, designed to support an educational platform with roles for students, instructors, and administrators. It includes features for user authentication, course management, payments, and more

Notifications You must be signed in to change notification settings

roy7077/Sarswati

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Sarswati Backend

Sarswati Backend is a Node.js application built with Express and MongoDB, designed to support an educational platform with roles for students, instructors, and administrators. It includes features for user authentication, course management, payments, and more.

Features

Authentication and Authorization

  • User signup, login, password reset, and profile management
  • Role-based access control using JWT tokens and bcrypt for secure authentication

Category Management

  • CRUD operations for course categories
  • Display all categories and category page details

Course Management

  • Create, read, update, and delete courses
  • Retrieve course details and display all available courses

Profile Management

  • Update user profiles, retrieve user details, and delete user accounts

Rating and Review

  • Allow users to rate and review courses
  • Calculate and display average ratings for courses

Section and Subsection Management

  • Create, update, and delete sections and subsections within courses

Course Purchase

  • Handle payment capture and signature verification using Razorpay
  • Enable users to purchase courses securely

Installation

  1. Clone the repository: git clone https://github.com/roy7077/Sarswati.git

  2. Install dependencies:

  • npm install
  1. Set up environment variables:
  • Create a .env file in the root directory
  • Define the required environment variables such as database connection URI, JWT secret, Razorpay API keys, etc.
  1. Start the server:
  • node index.js or nodemon index.js
  1. Access the API endpoints at https://sarswati-1.onrender.com/

Contributing

Contributions are welcome! Please fork the repository, make your changes, and submit a pull request. For major changes, please open an issue first to discuss the proposed changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Sarswati-pro

About

Sarswati Backend is a Node.js application built with Express and MongoDB, designed to support an educational platform with roles for students, instructors, and administrators. It includes features for user authentication, course management, payments, and more

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published