gravitate-backend's People
gravitate-backend's Issues
setUp missing for some tests
Generate dependent database documents in setUp for tests rather than relying on context setup scripts.
Default earliestDropOffAllowed and latestDropOffAllowed too close together
Default earliestDropOffAllowed and latestDropOffAllowed are too close together that earliest and latest specified by the user outside that range returns an error.
Add module docs with sphinx
Populate event helper fails when server or dev env timezone does not match
Add scripts to generate testing context
Import Error, Python 3.6 Compatibility
Potential error: submodules that are not properly configured for python3.6 may not be imported
This may be caused by the lack of "init.py" or other steps to properly declare a module.
(This problem would not happen in 3.7, but we need 3.6 for running the code in Google App Engine)
Faulty logics for Group.do_work
Group.do_work should refresh eventSchedule and rideRequests of all participants. Currently, the code specifies the operations and execute them for a subset of participants rather than triggering a refresh.
Improve file structure
Add file structure for domain model. Domain models should correspond to use cases such as the vehicle object that supports adding a passenger to a vehicle.
Change [POST] "/requestRide/<rideCategory>" to [POST] "/rideRequests"
File import
Error when reading JSON from file system. Tests ran at a different directory level may result in json failing to be read.
Wrong instance variable declaration
Potential error: variables intended as instance variable but written outside init() may be static.
StackOverflow
Fix: initialize instance variables in init
Add setuptools for submodule
Migrate to Marshmallow for Request Parsing
Request Parser in flask-restful is being deprecated. Migrate to Marshmallow for parsing requests.
Future TODOs:
- Migrate
to_view_dict
to Marshmallow schemas - Add swagger docs with Flasgger to both request and response
Separate controller module from service module
Decouple network layer (service layer) from operations such as creating a ride request.
Track Luggage Capacity
Failed legacy tests
Tests that were written for earlier version will fail.
Fix: delete or change tests to adapt to current version.
Error: not_joined is not returned in add_to_orbit
Location created each time SocialEventBuilder is called
Need to check if event already exists before calling builder
Add Travis CI
Decouple Firestore from data access layer
Decouple Firestore to prepare for migrating to Google datastore.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.