StudyNotion is a fully functional ed-tech platform that enables users to create, consume, and rate educational content.
The platform is built using the MERN stack, which includes ReactJS, NodeJS, MongoDB, and ExpressJS.
Live link ππ‘ - [ https://study-notion-mern-stack.netlify.app/ ]
Section | Description |
---|---|
StudyNotion Aim | π Overview of StudyNotion's goals |
Tech Stack | π»π§ Technologies used in the project |
System Architecture | π° Overview of the system architecture |
Architecture Diagram | ποΈ Diagram illustrating the architecture |
Schema | π Explanation of data schemas used |
React Hooks | π£ Overview of React Hooks utilized |
React Library | βοΈπ Overview of React Libraries used |
Screen Preview | π₯οΈ Screen Preview |
1οΈβ£ A seamless and interactive learning experience for students, making education more accessible and engaging.
2οΈβ£ A platform for instructors to showcase their expertise and connect with learners across the globe.
β The StudyNotion ed-tech platform consists of three main components:
The front end, the back end, and the database. The platform follows a client-server architecture, with the front end serving as the client and the back end and database serving as the server.
π¨ Front-end
The front end of the platform is built using ReactJS, which is a popular JavaScript library for building user interfaces. ReactJS allows for the creation of dynamic and responsive user interfaces also Loading Skeleton, which are critical for providing an engaging learning experience to the students. The front end communicates with the back end using RESTful API calls.
βοΈ Back-end
The back end of the platform is built using NodeJS and ExpressJS, which are popular frameworks for building scalable and robust server-side applications. The back end provides APIs for the front end to consume, which include functionalities such as user authentication, course creation, and course consumption. The back end also handles the logic for processing and storing the course content and user data.
π’οΈ Database
The database for the platform is built using MongoDB, which is a NoSQL database that provides a flexible and scalable data storage solution. MongoDB allows for the storage of unstructured and semi-structured data, which is useful for storing course content such as videos, images, and PDFs. The database stores the course content, user data, and other relevant information related to the platform.
Here is a high-level diagram that illustrates the architecture of the StudyNotion ed-tech platform:
The front end of StudyNotion has all the necessary pages that an ed-tech platform should have. Some of these pages are:
For Students:
- Homepage π : A brief introduction to the platform with links to the course list and user details and random background.
- Course List π: A list of all the courses available on the platform, along with their descriptions and ratings.
- Wishlist π‘: Displays all the courses that a student has added to their wishlist.
- Cart Checkout π : Allows the user to complete course purchases.
- Course Content π: Presents the course content for a particular course, including videos and related material.
- User Details π€: Provides details about the student's account, including their name, email, and other relevant information.
- User Edit Details βοΈ: Allows students to edit their account details.
For Instructors:
- Dashboard π: Offers an overview of the instructor's courses, along with ratings and feedback for each course.
- Insights π: Provides detailed insights into the instructor's courses, including the number of views, clicks, and other relevant metrics.
- Course Management Pages π οΈ: Enables instructors to create, update, and delete courses, as well as manage course content and pricing.
- View and Edit Profile Details π: Allows instructors to view and edit their account details.
The back-end of the platform is built using NodeJS and ExpressJS, providing APIs for the front-end to consume. These APIs include functionalities such as user authentication, course creation, and course consumption. The back-end also handles the logic for processing and storing the course content and user data.
- User Authentication and Authorization π: Students and instructors can sign up and log in to the platform using their email addresses and passwords. The platform also supports OTP (One-Time Password) verification and forgot password functionality for added security.
- Course Management π οΈ: Instructors can create, read, update, and delete courses, as well as manage course content and media. Students can view and rate courses.
- Payment Integration π³: Students will purchase and enroll in courses by completing the checkout flow, followed by Razorpay integration for payment handling.
- Cloud-based Media Management βοΈ : StudyNotion uses Cloudinary, a cloud-based media management service, to store and manage all media content, including images, videos, and documents.
- Markdown Formatting βοΈ: Course content in document format is stored in Markdown format, allowing for easier display and rendering on the front-end.
The back-end of StudyNotion uses several data models and database schemas to manage data, including:
- Student Schema π§βπ: Includes fields such as name, email, password, and course details for each student.
- Instructor Schema π©βπ«: Includes fields such as name, email, password, and course details for each instructor.
- Course Schema π: Includes fields such as course name, description, instructor details, and media content.
The database for the platform is built using MongoDB, a NoSQL database that provides a flexible and scalable data storage solution. MongoDB allows for the storage of unstructured and semi-structured data. The database stores the course content, user data, and other relevant information related to the platform.
Utilized several React hooks for efficient state management and dynamic behavior:
useState
useEffect
useDispatch
useParams
useSelector
useLocation
useNavigate
useRef
useForm
useDropzone
Custom-Hook
- π Lazy Loading: Enhance performance by lazily loading images using the react-lazy-load-image library.
- π Chart.js: Versatile charting library for creating interactive and visually appealing charts.
- πFramer Motion: Animation library for React, providing smooth and expressive motion.
- π React Dropzone: Drag-and-drop file uploader for React applications.
- π React Hot Toast: Elegant and customizable toast notifications for React applications.
- π’ React OTP Input: Input component for one-time password entry in React forms.
- π React Super Responsive Table: Highly responsive and feature-rich table component for React.
- π Swiper: Modern touch slider for mobile and desktop browsers.
- ποΈ React Type Animation: Simple and configurable typing animation component for React.
- π₯ Video React: React-based video player for building rich multimedia experiences in web applications.