This is a web application for selling and purchasing courses. The backend is built using Node.js and Express, with data stored in MongoDB. The application supports both admin and user functionalities, allowing administrators to manage courses and users to sign up, log in, purchase courses, and view their purchased courses.
Clone the repository:
git clone https://github.com/Saurav50/Course-Selling-Backend.git
cd Course-Selling-BackendInstall dependencies:
npm installSet up MongoDB:
Create a MongoDB database and obtain the connection string. Update the config/config.js file with your MongoDB connection string. Start the application:
npm start
Dive into the Documentation:
Admin Routes: Explore admin functionalities for managing courses and users.
User Routes: Discover user-centric features for signup, login, course purchase, and more.
Additional Information:
Data storage: MongoDB ️
Authentication: JWT tokens
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.