An open API service indexing awesome lists of open source software.

https://github.com/harshdeep-yadav/sarswati

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
https://github.com/harshdeep-yadav/sarswati

bcryptjs cludinary cookie-parser cors dotenv express-fileupload expressjs jwt-authentication mongodb mongoose node nodemailer otp-generation otp-verification razorpay-api render

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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/Harshdeep-Yadav/Sarswati.git

2. Install dependencies:
- npm install

3. 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.

4. Start the server:
- node index.js or nodemon index.js

## 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.

"# Sarswati"