jimfangx / -CPS-Schedule-Generator

A tool for CPS Students to generate a personalized version of the daily schedule within minutes.

Home Page:https://generator.rocketscience.monster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-CPS-Schedule-Generator

CPS Schedule Generator is a full stack web application that allows CPS students to generate a customized version of their daily schedule within a few minutes. Users would input their classes in order (Block A, B, C, D, E, F, G) then hit "Submit". The program will return a printable PDF with the user's classes mapped to each block on the schedule.

The implemented version of this program can be found here.

Implementation Technologies Breakdown

PDF Processing Server (Backend):

Website & Submission Processing (Frontend):

Flowchart

Building from source

Instructions on how to build CPS Schedule Generator from the source code.

Building backend

  • Prerequisites:

    • Computer with git enabled cli
    • A Node.js hosting service of your choice. Instructions are using Heroku.
    • A fully functioning website to host the frontend & basic knowledge with web hosting (cPanel, etc)
  • Instructions:

    • Clone LTS version of the project using git clone https://github.com/AirFusion45/-CPS-Schedule-Generator.git
    • Follow instructions from your hosting service on deploying to their servers. Here are Heroku's instructions.
    • Grab your deployed app's URL
    • Go into sever.js and replace https://blooming-tor-45007.herokuapp.com with your deployed app's URL
    • Go into main.html and replace https://blooming-tor-45007.herokuapp.com with your deployed app's URL. Make sure that there is a / at the end of the URL. The replaced URL should look like this: https://yourappsurl.hostingservice.com/

Building frontend

  • Instructions:
    • Presumably you have already cloned the project.
    • Head to your website hosting provider.
    • Open the file manager in cPanel.
    • Upload the main.html, main.js and main.css files to your website. Make sure the files are uploaded to the folder of your page/subpage. Also make sure that .htaccess has been modified to include main.html

License

This projecet is licensed under MIT License - See the LICENSE.md file for more details. The main points of the MIT License are:

  • This code can be used commercially
  • This code can be modified
  • This code can be distributed
  • This code can be used for private use
  • This code has no Liability
  • This code has no Warranty
  • When using this code, credit must be given to the author

Authors

  • AirFusion45 - Owner

Contributions

  • R Malik - Creator of the implemented website's favicon. See his creation here

Credits

  • PDF modification library from Hopding's pdf-lib here.
  • Other side dependencies please see package.json

Contact Me

If you find any bugs, license issues, missing credits, etc. Feel free to contact me by email or Discord!

Note/Notes

  • The latest stable version is the latest release in releases

About

A tool for CPS Students to generate a personalized version of the daily schedule within minutes.

https://generator.rocketscience.monster

License:MIT License


Languages

Language:JavaScript 94.6%Language:HTML 5.1%Language:CSS 0.3%