Skip to content

cvanbeek13/openeats-api

 
 

Repository files navigation

Purpose of Fork

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

Modifications to this Repo

  • Updated Dockerfile to run on RPi
  • Allow Recipes to be filtered by tags

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:

About

The API that powers OpenEats

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.3%
  • Other 1.7%