Coder Social home page Coder Social logo

huy-qn / sourcegrade Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joelseq/sourcegrade

1.0 0.0 0.0 5.22 MB

A web scraper for www.gradesource.com built with MongoDB, Express.js, Node.js, React and Redux

Home Page: https://www.sourcegrade.xyz/

License: MIT License

JavaScript 92.32% CSS 6.35% HTML 1.33%

sourcegrade's Introduction

SourceGrade

SourceGrade is a web scraping app built with MongoDB, Express.js, Node.js, React, and Redux for GradeSource. SourceGrade is designed to make your life easier by finding all your scores for a particular class on GradeSource, and presenting all the data in a meaningful and elegant way. It also allows you to create accounts to save all your information for a class so that you never have to remember your secret number or course url again!

Usage

  1. Add your class url here if it hasn't already been previously added.

  2. Enter your Secret Number and Class in the input fields

enter info

  1. View your scores and statistics for each assessment or category.

view scores

view scores 2

In addition, if you want to use the API directly the route is:

http://www.sourcegrade.xyz/api/scrape?id={secret number}&url={class url}

Example API Request:

http://www.sourcegrade.xyz/api/scrape?id=8010&url=http://www.gradesource.com/demo/example1/index.html

Install and run locally

To install and run this on your local machine you need MongoDB

  1. Clone this repository
  2. Run npm install
  3. Start MongoDB
  4. Create a .env file in the main directory, providing the two environment variables DB_URI (url to your MongoDB server) and SECRET (secret for encrypting JSONWebTokens). Example:
DB_URI=mongodb://localhost:27017/sourcegrade
SECRET=supercoolsecret
  1. Run the server node bin/www

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Contributions are always welcome!

Credits

Chris Korkos for the designs.

Misc.

Source code for old version available here

sourcegrade's People

Contributors

joelseq avatar

Stargazers

 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.