Skip to content

Lominex/ownrecipes-api

 
 

Repository files navigation

OwnRecipes API

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

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

See the homepage for more information about OwnRecipes.

This project was forked from OpenEats. See it's 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 OwnRecipes-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: Running the test for the first time may need some time, as the DB is doing some internal stuff.

REST Endpoints

You can access the API roots via there app names:

You can also check the OpenAPI document for more detailed information.

About

The API that powers OwnRecipes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.6%
  • Other 1.4%