The API that powers OpenEats
Find a file
2022-10-09 15:56:06 +02:00
base Allow for empty prep and cook time, use 0 as default, bump mysqlclient version 2022-10-09 15:56:06 +02:00
templates First Commit 2018-01-27 19:01:15 -05:00
v1 Allow for empty prep and cook time, use 0 as default, bump mysqlclient version 2022-10-09 15:56:06 +02:00
.gitignore Adding external coverage reports (#6) 2018-03-20 10:43:20 +01:00
.travis.yml removing code climate test coverage id 2018-03-20 11:37:37 +01:00
__init__.py upgrading to python 3.6 / django 2.0.1 2018-01-29 20:55:01 -05:00
CONTRIBUTING.md updating contributing guide default branch to master 2018-01-28 23:02:56 -05:00
Dockerfile Running on RPi 2021-01-06 22:17:48 -06:00
LICENSE.md First Commit 2018-01-27 19:01:15 -05:00
manage.py First Commit 2018-01-27 19:01:15 -05:00
README.md Updated README 2022-08-26 17:38:18 +02:00
test.yml Rename docker-compose-test.yml to test.yml 2018-01-28 17:37:25 -05:00
tests.sh Fixing issue with tests always passing (#8) 2018-03-27 20:52:10 +02:00

Purpose of this Fork

This fork is setup to run on a Raspberry Pi 4 and contains a few other updates. See the main OpenEats repository for more information.

Modifications to this Repo

  • Updated Dockerfile to run on RPi

OpenEats API

API Build Status Coverage Status Maintainability

This is the API that powers OpenEats. It uses Django/Django Rest Framework to power the API. The core responsibilities of the APi are:

  • OpenEats REST API
  • Django User management with Django REST token auth
  • Django Admin panel for creating new users and administration
  • Static Media Manangemtn (AKA Recipe Images)

See the homepage for more information about OpenEats!

Contributing

Please read the contribution guidelines in order to make the contribution process easy and effective for everyone involved.

Dev Tips

Running tests

To run tests locally:

cd openeats-web
docker-compose -f test.yml -p test build
docker-compose -f test.yml -p test up -d db
docker-compose -f test.yml -p test run --rm --entrypoint sh api
python manage.py test

Note: If this is the first time you are running the tests, give the DB some time to build itself once it's build there is no need to wait again.

REST Endpoints

You can access the API roots via there app names: