backend's People
backend's Issues
Turn off Debug=True for public API
Get CI up and running.
Create Documentation
Update readme to include makefile instructions.
Create endpoints for different categories of locations
Update ingest script to support hours.
Error when trying to python manage.py migrate during project setup
sofianehome$ python manage.py migrate
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 316, in execute
settings.INSTALLED_APPS
File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 53, in __getattr__
self._setup(name)
File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/site-packages/django/conf/__init__.py", line 97, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/Cellar/python/2.7.12_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/Users/sofianehome/code/foodforla/backend/settings.py", line 19, in <module>
import urllib.parse as urlparse
ImportError: No module named parse
Configure to allow for local development as well as Heroku
Figure out how to model seasonality for Community Gardens and Farmer's Markets
Create Display Name for location model.
Example:
name:Vons #234
display_name: Vons
Rudimentary pagination
Investigate indexing for postgres.
Fix failing tests and add new test cases
Update Location model to include foreign keys for hours.
Make JSON for the front-end
Michael and I think this will be a good format for the front-end to use…
[
{
name: 'All Peoples Christian Center',
type: 'Food Bank',
address_1: '822 E. 20th Street',
address_2: 'Suite 500',
city: 'Los Angeles',
state: 'CA',
zipcode: '90011',
phone: '213-747-6357',
website: 'www.example.com',
active: true | false
category: 'CG' | 'FM' | 'FB'
latitude: 34.0856924,
longitude: -118.1729264,
hours: [
{
day: '1stMo',
open_time: '08:00',
close_time: '17:00'
},
{
day: 'AllTu',
open_time: '08:00',
close_time: '17:00'
}
]
},
…
]
Investigate CSV storage options
Currently files are stored in google drive as sheets. We will need to access these files to put them into the Postgres database. Currently the csv_ingest file is looking for the files to be stored locally.
Can we grab the data directly from google sheets? Should we move it to Amazon S3? Is storing the locally the best option?
@rebeccapizano -> Is this something you'd be able to take a look at?
Add a Code of Conduct
Commonize test file names
currently we have name_test.py and name_plural_test.py. We should commonize to a single naming convention.
Update requirements.txt
Look into using docker to set up environments
Scrape data from lafoodbank.org
Add Organizations Model, Serializer, View, Ingest, Tests
Fix ingest command so it doesn't truncate all tables.
Just needs to truncate location and hour tables.
Add to view_test to include location hours.
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.