Giter Site home page Giter Site logo

lucasadrianof / real-world-grading-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 2color/real-world-grading-app

0.0 0.0 0.0 721 KB

An example of a real-world REST API backend built with TypeScript, Hapi, Prisma, and PostgreSQL.

JavaScript 0.08% TypeScript 99.68% Shell 0.23%

real-world-grading-app's Introduction

Real-world class grading backend

A real-world class grading application built with Prisma.

The grading application is used to manage enrollment in online classes, tests (as in exams) for classes, and test results.

The goal if this application is to showcase a real-world scenario of an application using Prisma. the following aspects of Prisma

  • Data modeling
  • CRUD
  • Aggregations
  • API layer
  • Validation
  • Testing
  • Authentication
  • Authorization
  • Integration with other APIs
  • Deployment

Check out the associated tutorial to learn more about how the backend was built.

Data model

The development of this project is driven by the database schema (also known as the data model). The schema is first designed to represent the following concepts:

  • User: this can be a student or a teacher, or both. The role of the user is determined through their association with a course.
  • Course: represent a course that can have multiple students/teachers. Each user can be associated with multiple courses either as a student or as a teacher.
  • CourseEnrollment:
  • Test: Each course can have many tests
  • TestResult: Each Test can have many TestReusults that is associated with a student

These are defined in the Prisma schema. The database schema will be created by Prisma Migrate.

Tech Stack

  • Backend:
    • PostgreSQL
    • Node.js
    • Prisma
    • TypeScript
    • Jest
    • Hapi.js

How to use

Install npm dependencies:

npm install

real-world-grading-app's People

Contributors

2color avatar dependabot[bot] 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.