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!
-
Add your class url here if it hasn't already been previously added.
-
Enter your Secret Number and Class in the input fields
- View your scores and statistics for each assessment or category.
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
Requirements:
- Clone this repository
- Run
npm install
- Start MongoDB
- Create a
.env
file in the main directory, providing the two environment variablesDB_URI
(url to your MongoDB server) andSECRET
(secret for encrypting JSONWebTokens). Example:
DB_URI=mongodb://localhost:27017/sourcegrade
SECRET=supercoolsecret
Production mode:
npm start
Development (Webpack dev server) mode:
npm run start:dev
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Contributions are always welcome!