32 lines
807 B
Markdown
32 lines
807 B
Markdown
# Vegan Barcode
|
|
|
|
The goal of this project is to be a crowd sourced resource to find out if a product is vegan
|
|
|
|
|
|
## Task list
|
|
- figure out how we want to handle database migrations
|
|
- database object models should be separated out from database migration function
|
|
- create main process that runs database migration and then starts api
|
|
- create search api
|
|
- create upload api
|
|
- create workers
|
|
- barnivore lookup
|
|
- alergen ingredient database lookup?
|
|
- create mobile and desktop front ends
|
|
- moderation tooling?
|
|
|
|
|
|
Created database by
|
|
|
|
|
|
## How to start database
|
|
|
|
- Run `brew services start postgresql`
|
|
- Create database
|
|
- Setting environment variables:
|
|
- PGHOST=localhost
|
|
- DB_NAME=veganDB (Can be arbitrary)
|
|
- Run `createdb veganDB`
|
|
(To delete in future just run dropdb <name>)
|
|
|