jacks205 / schedules-backend Goto Github PK
View Code? Open in Web Editor NEWBackend server for schedules built with Sails
License: MIT License
Backend server for schedules built with Sails
License: MIT License
Not sure if to incorporate it with Passport.js or have separate method of auth
Need a term model. Should have the following fields:
Need to only look in a new course's school to see if it exists
Because the model doesn't check the type, I had to place any checking in the beforeUpdate method.
The likes field should contain an array of users who liked the course and when.
They should however be populated if you're trying to get a single one (like from /section/3
)
When retrieving a course record, in it's sections array, for each section - replace course and professor fields with corresponding data.
Get a 500 Section.Already.Exists error when adding multiple sections.
Unnecessary and will bog down response time.
API should follow the following scheme:
HTTP Verb | CRUD | Path | Action | Used To |
---|---|---|---|---|
GET | Retrieve | /users | index | Display a list of all users, or all users filtered by querystring |
GET | Retrieve | /users/:id | show | Display a specific user, found by params or querystring |
POST | Create | /users | create | Create a user |
PUT | Update | /users/:id | update | Update a specific user |
DELETE | Destroy | /users/:id | destroy | Delete a specific user |
Let users login with a code texted to them
Time based codes:
https://github.com/markbao/speakeasy
Texting:
https://github.com/twilio/twilio-node
Easy way would just be a string but probably should be another object. Object could have GPS coordinates.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.