Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodejs port #1

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open

Nodejs port #1

wants to merge 40 commits into from

Conversation

lastlink
Copy link

I don't know on what you were planning with this project, but I've ported it over to use nodejs. Main reason is I plan to include a web scraper to pull courses for users. The functionality currently supports bulkinserting from a csv file into an istudiez backup.

Changes

  • added readme
  • added nodejs folder that includes nodejs port
  • some changes to .gitignore

@yacn
Copy link
Owner

yacn commented Sep 22, 2018

Hey! Thanks for the pull request. Funnily enough, I was thinking about this earlier today because I read this post about a dev's project graveyard and thought it was an interesting way to look back at the abandoned projects one's worked on.

My original intent for the istd/istudiez projects on my page was to build a web interface for iStudiezPro. Back when I was using it, I didn't always want to bring my laptop to campus so I'd bring a Chromebook but this meant I had to do all updates via my phone, which was cumbersome/annoying. I realized the app let you back your data up so I downloaded one of the back ups and realized they were just zip files w/ an xml describing the backup and a SQLite database.

IIRC my idea was to make this into a library to perform the underlying operations from the REST API I was making to create the istd back-up that iStudiezPro. Again, IIRC (I don't use the program anymore since graduating), the main thing I accomplished was generating a valid back up file that was able to be loaded by the program.

Where I got stuck was trying to use the sync API that iStudiezPro had to push the generated backups to my devices but I wasn't able to figure out how the requests were made and eventually I graduated and stopped using the program.

I haven't used node so I wouldn't feel super comfortable reviewing the code outside of a very cursory level. I have been looking for a reason to learn it though.

Let me take some time this weekend to learn the basics of Node and give the code some review.

@lastlink
Copy link
Author

My addition was to allow users to bulk import in new assignments using csv files. I got it working for the most part, the next step would be to check if a semester existed then created it if it didn't then create a course if it didn't exist then attach the new assignments to them. I've also finished a nodejs web selenium scraper (not in this pull request) for scraping assignments from a university website. I was trying to setup a template that users could customize for their own faculty websites to pull these in 10 minutes rather than spending 2 days inputing all their assignments. From what I could tell there are two field one was isnew another isupdating that the sync I believe checks and uploads your changes back tot he server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants