This repository contains the code for a Course Selling Website built using the MERN (MongoDB, Express, React, Node.js) stack. The website allows admins to manage courses and users to browse and purchase courses.
Admin can sign up and log in to the dashboard. Admin can create, edit, and list all courses. Users can sign up and log in to their accounts. Users can browse and purchase courses. Users can view their purchased courses.
git clone https://github.com/tinaM17/CoursePro.git
cd server npm install
node index.js The backend will be running at http://localhost:3000.
cd admin npm install
In the helper.jsx update the BASE_URL=http://localhost:3000 Make sure to replace http://localhost:3000 with the actual backend URL if deploying to a different environment.
npm run dev The admin panel will be running at http://localhost:5173.
cd user npm install
In the helper.jsx update the BASE_URL=http://localhost:3000 Replace http://localhost:3000 with the actual backend URL if deploying to a different environment.
npm run dev The user frontend will be running at http://localhost:5174.
The backend of the Course Selling Website is deployed on Render. The backend automatically connects to the MongoDB database specified in the environment variables.
The frontend of the Admin Panel and User Frontend are deployed on Netlify. The .env files for each frontend are configured on Netlify's environment variables settings.
https://admin-coursepro-app.netlify.app/
https://coursepro-app.netlify.app/
Contributions to the Course Selling Website project are welcome. If you find any bugs or want to add new features, feel free to create a pull request.
Thank you for using the Course Selling Website. If you have any questions or need further assistance, please don't hesitate to contact us. Happy learning!