GithubHelp home page GithubHelp logo

university-management-backend's Introduction

University Management System

This is the documentation for the Authentication Service component of the University Management System. The Authentication Service provides authentication and authorization functionalities for the three main roles in the system: Admin, Student, and Faculty. It is built using TypeScript, Express.js, Zod validation, and MongoDB.

Functional Requirements

Student

  • Student can login and log out.
  • Student can manage and update their profile.
  • Student can update certain fields.

Admin

  • Admin can log in and log out.
  • Admin can manage and update their profile.
  • Admin can only update certain fields.
  • Admin can manage user accounts:
    • Change Password

Faculty

  • Faculty can log in and log out.
  • Faculty can manage and update their profile.
  • Faculty can only update certain fields.

API Endpoints

User

  • POST /users/create-student
  • POST /users/create-faculty
  • POST /users/create-admin

Student

  • GET /students
  • GET /students?searchTerm=fr797
  • GET /students?page=1&limit=10&sortBy=gender&sortOrder=asc
  • GET /students/:id
  • PATCH /students/:id
  • DELETE /students/:id

Faculty

  • GET /faculties
  • GET /faculties?searchTerm=john
  • GET /faculties?page=1&limit=10&sortBy=gender&sortOrder=asc
  • GET /faculties/:id
  • PATCH /faculties/:id
  • DELETE /faculties/:id

Admin

  • GET /admins
  • GET /admins?searchTerm=us88
  • GET /admins?page=1&limit=10&sortBy=gender&sortOrder=asc
  • GET /admins/:id
  • PATCH /admins/:id
  • DELETE /admins/:id

Academic Semester

  • POST /academic-semesters/create-semester
  • GET /academic-semesters
  • GET /academic-semesters?searchTerm=fal
  • GET /academic-semesters?page=1&limit=10&sortBy=year&sortOrder=asc
  • GET /academic-semesters/:id
  • PATCH /academic-semesters/:id
  • DELETE /academic-semesters/:id

Academic Department

  • POST /academic-departments/create-department
  • GET /academic-departments
  • GET /academic-departments?searchTerm=math
  • GET /academic-departments?page=1&limit=10&sortBy=title&sortOrder=asc
  • GET /academic-departments/:id
  • PATCH /academic-departments/:id
  • DELETE /academic-departments/:id

Academic Faculty

  • POST /academic-faculties/create-faculty
  • GET /academic-faculties
  • GET /academic-faculties?searchTerm=com
  • GET /academic-faculties?page=1&limit=10&sortBy=title&sortOrder=asc
  • GET /academic-faculties/:id
  • PATCH /academic-faculties/:id
  • DELETE /academic-faculties/:id

Authentication

  • POST /auth/login
  • POST /auth/change-password
  • POST /auth/refresh-token

university-management-backend's People

Contributors

mahadebsen 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.