Coder Social home page Coder Social logo

dleedev365 / grading-scale-system Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 5.25 MB

Implemented login system and CSV file uploading feature with MD5 hashing, express-session and live Histogram

JavaScript 34.51% Dockerfile 1.15% EJS 64.34%
md5-hash express-session node-js ejs csv-parser expressjs html5 css3

grading-scale-system's Introduction

Dependencies

  1. Please install necessary npm packages via "npm i"
  2. Inside public/uploads, valid user's csv files will be saved. If the name of a csv file exists, the existing file will be overwritten by a new submission.
  3. Docker Repo: https://hub.docker.com/repository/docker/wbot1234567/final-app

Features

  1. Login - user credentials are hashed with MD5
  2. Session - user session will contain username, password, and their files
  3. CSV file uploading - if a csv file has total less than 100, user will be asked to upload a new csv file
  4. Scale bar, histogram and data table - users can update their csv data live
  5. Table Search - users can serach studentID
  6. In case of errors, error messages will be displayed to users

CSV Format

  1. CSV file must have entries separated by a comma
  2. CSV file must start with headers and have a row beginning with "total"

Note

  1. When applying scaling, students who exceed 100% will be counted towards A+ in spite of their grades over 100%;
  2. csv files will be saved in 'public\uplods' and it will not affect subsequent jobs unless the user reuploads the changed file.
  3. For uploading csv file, I tested with several csv files created by Windows office, text document and professor, all of them were identified to have application/octet-stream as meme types. I couldn't fix this behaviour because it's beyond my comprehensibility. As a solution to this, I askd the user to upload csv file on the uploading page. (Possible bug is any other file type that contains a string in form of 'total,32,12,42,45.66' and so on).
  4. CSV test files can be found in '../public/uplodas'

Demo

Login

CSV file submission

![file-upload](https://github.com/danlee0528/grading-scale-system/blob/master/fileuploading-demo.gif)

Grade Scaling and Table Searching

grading-scale-system's People

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.