GithubHelp home page GithubHelp logo

jesubohr / sophosu Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 625 KB

Platform for Sophos University to manage courses, students and teachers.

License: MIT License

HTML 0.94% TypeScript 92.32% CSS 6.42% Dockerfile 0.31%
frontend react typescript client-server example-projects mysql-database backend-api

sophosu's Introduction

SophosU

The platform for Sophos University to manage its institute information, offered courses, enrolled students and official teachers.

Installation

  1. Clone the repository
  2. Enter the /SophosAPI folder and run npm install
  3. Run npm start to start the server
  4. Open localhost:5000 in your browser
  5. Enter the /SophosApp folder and run npm install
  6. Run npm preview to start the app
  7. Open localhost:5173 in your browser

Usage

  1. Login with your credentials
  2. Create a new course
  3. Create a new teacher
  4. Create a new student
  5. Enroll the student to the course
  6. Add the teacher to the course

Database Model Diagram

Development

There is the /PoblationScripts folder where you can find the scripts to create and populate a mysql database with data. You can run them in the following order:

  1. Database-Tables.sql
  2. AdminUser.sql
  3. Faculty.sql
  4. Student.sql
  5. Teacher.sql
  6. Course.sql
  7. Enrollment.sql (This one must be manual, cause the enrrollement values are foreign keys)

Docker Deployment

  1. Clone the repository
  2. Enter the /SophosAPI folder and run docker compose -p api-prod -f docker-compose.yml up -d --build
  3. Enter the /SophosApp folder and run docker compose -p webapp-prod -f docker-compose.yml up -d --build
  4. Open localhost:8080 in your browser to see the API
  5. Open localhost:3030 in your browser to see the app

License

MIT

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.