Smart Tutor is an online educational platform designed to connect tutors and students seamlessly. It provides features for users to register, create and manage courses, rate tutorials, and handle payments through an integrated shopping cart system. The platform emphasizes user authentication, profile management, and efficient course management.
- User Registration & Authentication: Users can register, log in, and manage their profiles securely.
- Course Management: Tutors can create, edit, delete, and fetch details about their courses.
- Review System: Users can rate courses and leave feedback, helping others make informed decisions.
- Shopping Cart Integration: Students can add courses to their cart and process payments through a secure checkout system.
- Email Notifications: The platform sends email notifications for password resets and contact form submissions.
- Paper Management: Users can upload, search, and filter academic papers.
- User-Friendly Interface: Built with a modern UI to enhance the user experience.
- Frontend: React.js, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- State Management: Redux-toolkit
- Payment Gateway: Stripe
- Email Service: Nodemailer
- Error Handling: Custom error handling middleware
POST /api/v1/register
: Register a new userPOST /api/v1/login
: Login a userGET /api/v1/profile
: Get user profilePUT /api/v1/profile/update
: Update user profilePOST /api/v1/password/forgot
: Send password reset linkPUT /api/v1/password/reset/:token
: Reset user password
POST /api/v1/course/add
: Add a new courseGET /api/v1/course/:id
: Get course detailsPUT /api/v1/course/edit/:id
: Edit an existing courseDELETE /api/v1/course/delete/:id
: Delete a courseGET /api/v1/courses
: Get all courses
POST /api/v1/course/:id/review
: Rate a courseGET /api/v1/course/:id/reviews
: Get reviews for a courseDELETE /api/v1/course/:id/review/:reviewId
: Delete a review
-
POST /api/v1/cart/add/:id
: Add a course to the cart -
GET /api/v1/cart/my-orders
: Get user orders -
DELETE /api/v1/cart/delete/:id
: Delete an item from the carthttps://smart-tutor-bu5k.onrender.com/
-
Clone the repository:
git clone https://github.com/ad-gupta/tutorial.git
-
Create Build file
cd client
npm run build
-
Install dependency of both client and root directory
/client
--->npm install
root (/)
--->npm install
-
Run the website
root (/)
--->npm run dev