Welcome to the Course List App - A full stack MERN Project !
- Getting Started
- Backend
- How to run?
- Routes
- Frontend
- How to start it?
- Functionalities
To get started, follow these steps:
-
Clone the repository to your local machine.
-
To clone, copy the repo url and run in the terminal with
git clone
- Run command,
cd server
- To install all dependencies, run
npm i
- To start server,
nodemon
- Route:
GET /getCourses/:pageNo
- It returns courses for first page. PageNo refers for pagination
- Route:
GET /getDetails/:id
- Description: Get details of specific course by its ID.
- Route:
GET /emrolledCourses/:id
- Description: Get list of course, a user is enrolled by its userID.
- Route:
POST /markCompleted
- Description: Pass userId and courseId in the body.
- Route:
POST /search
- Description: Pass the query in the body and it will search based on course Name and instructor name
- Run command,
cd client
- To install all dependencies, run
npm i
- To start server,
npm run dev
##Functionalities
- Redux is used for data management
- Pagination implemented
- Can set courses as completed but can't again mark uncompleted
- Enroll in courses
- Can access dashboard only after login
- Login as Guest functionality provided