Git Product home page Git Product logo

e-learning-be's Introduction

E-Learning Express API Documentation

This documentation outlines the available endpoints and functionalities of the E-Learning Express API.

Table of Contents

User

Get User

  • URL: http://localhost:3000/api/v1/user/1
  • Method: GET

Retrieve user information by ID.

Update User

  • URL: http://localhost:3000/api/v1/user/1
  • Method: PUT

Update user information by ID.

Upload Profile

  • URL: http://localhost:3000/api/v1/user/1/uploadProfile
  • Method: PUT

Upload user profile picture.

Courses

View Course

  • URL: http://localhost:3000/api/v1/course?page=1&limit=3&category=Programming&level=Intermediate
  • Method: GET

View courses based on category and level with pagination.

View EnrollCourse

  • URL: http://localhost:3000/api/v1/enrollCourse/
  • Method: GET

View enrolled courses.

Create Course

  • URL: http://localhost:3000/api/v1/course
  • Method: POST

Create a new course.

Update Course

  • URL: http://localhost:3000/api/v1/course/3
  • Method: PUT

Update a course by ID.

Enroll Course

  • URL: http://localhost:3000/api/v1/enrollCourse/3/enroll
  • Method: PUT

Enroll in a course by ID.

Auth

Reset Password

  • URL: http://localhost:3000/api/v1/auth/resetPassword
  • Method: POST

Initiate password reset by providing email.

Confirm Reset

  • URL: http://localhost:3000/api/v1/auth/reset-password/38746b3920ba1119a6dfa701fc13eedd5f20a78e678f77f5869b70e1660cb6ab
  • Method: POST

Confirm password reset by providing new password.

Login

  • URL: http://localhost:3000/api/v1/user/login
  • Method: POST

Login by providing email and password.

Refresh Token

  • URL: http://localhost:3000/api/v1/user/refresh
  • Method: GET

Refresh authentication token.

Register

  • URL: http://localhost:3000/api/v1/user/register
  • Method: POST

Register a new user.

e-learning-be's People

Contributors

senthiltechspot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.