Skip to content

My Team and I building a School Portal for my Department to help them populate student results and calculate students CGPA by the session

License

Notifications You must be signed in to change notification settings

Okafor-Ifeanyi/csc_school_portal

Repository files navigation

CSC-PORTAL

This repository contains the backend functionalities of a Portal Management Software. The software is efficiently designed to streamline communication and information sharing between students, teachers, and administrators. Transcript Generator

Tech Stack

  • Node js
  • Typescript
  • Express
  • Mongoose
  • dotenv
  • Joi
  • Jsonwebtoken
  • Jest
  • SuperTest
  • Bcrypt
  • Morgan
  • Passport

Installation

- Run `npm install ` in your terminal to install packages in package.json
- Create a `.env file` and fill in values for the following variables: - `DATABASE_URI`
- Finally run `npm start` in your terminal

Endpoints

  • Healthcheck: /api/healthcheck [ GET: Server Health Check ]

  • admins: [ POST: Register a new staff] /api/admins/register [ POST: Login a staff] /api/admins/login [ GET: get all staffs] /api/admins [ GET: get a single staff] /api/admins/<id> [ PATCH: update a staff] /api/admins/update [ DELETE: delete a staff] /api/admins/delete

  • classes: [ POST: Create a new class] /api/classes/register [ GET: get all classes] /api/classes [ GET: get a single class] /api/classes/<id> [ PATCH: update a class] /api/classes/update/<id> [ DELETE: delete a class] /api/classes/delete/<id>

  • students: [ POST: Register a new student] /api/students/register [ POST: Login a student] /api/students/login [ POST: Upload a student] /api/students/upload [ GET: get all students] /api/students [ GET: get a single student] /api/students/<id> [ PATCH: update a student] /api/students/update [ DELETE: delete a student] /api/students/delete

  • API Documentation /api/docs [ GET: get API Documentation]

Entity Relationship model

To view the Entity Relationship Diagram (ERM) navigate here

Copyright (c) 2023

About

My Team and I building a School Portal for my Department to help them populate student results and calculate students CGPA by the session

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages