GithubHelp home page GithubHelp logo

govtech-school-server's Introduction

School Server ERP

Introduction

This github is used to maintain documentation of server (back-end) codes as Proof of Concept (POC) for school ERP system where teachers need a system where they can perform administrative functions for their students which we're required to build and develop based on tech stack.

Tech stack

Back-end engine: NodeJS
Framework: ExpressJS
RDMS: MySQL
CI/CD: Amazon Code Pipeline and Amazon Code Deploy
Cloud Server: Amazon EC2
Cloud Database: Amazon RDS Aurora(MySQL)
Database Schema: Draw.io
Published API Endpoint:

API Documentation

Please refer to postman collection on docs folder for API documentation and note that you can choose one of the published endpoints for {{base_url}} environment variables in the postman collection.
POST /api/register: register multiple students by teacher
GET /api/commonstudents: retrieve students that is registered to teachers
POST /api/suspend: for teacher to suspend a student
POST /api/retrievefornotifications: retrieve a list of students who can receive a given notification
POST /teachers/register: register a new teacher
POST /students/register: register a new student
GET /students/suspended: retrieve a list of students that is being suspended

Prerequisites

Please install below dependencies on your local machine:

Installation

To start this application on locahost, you just need to git clone it on your local and run these codes:

# Install dependencies
npm install

# Add environment variables file (.env) at root
# Please refer to `.env.sample` file for variables that you need to save

# Add dummy data to your local MySQL database
# Please refer to `seeders` folder for sample data 
# Please notice that we have middleware function to validate whether a teacher or student is exists on school database
# So if you need valid teacher and student, please refer to `seeders` folder for reference 
# or use the API to register new teacher or student

# Development
npm run dev

# Test
npm run test

govtech-school-server's People

Contributors

marcosumali avatar

Watchers

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