GithubHelp home page GithubHelp logo

zobaa0 / recipe-api Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 27 KB

A recipe sharing API built using Django rest framework.

License: MIT License

Shell 0.48% Procfile 0.08% Python 97.16% HTML 2.28%
django django-rest-framework drf-spectacular jwt-authentication rest-framework-simplejwt unittest django-rest-pass

recipe-api's Introduction

Recipe Sharing API

This API allows users to share recipes and find recipes. It is developed using Django rest framework. You can find the api here.

Basic Features

  • Custom User model and authentication using email and password.
  • JWT authentication.
  • CRUD endpoints for recipe.
  • Search functionality for recipes.
  • Password reset functionality.
  • Documentation using drf_spectacular which support OAS3.
  • Unit test using coverage and factory boy.

Quick Start

To get this project up and running locally on your computer follow the following steps.

  1. Clone this repository to your local machine.
  2. Create a python virtual environment and activate it.
  3. Open up your terminal and run the following command to install the packages used in this project.
$ pip install -r requirements.txt
  1. Set up a Postgres database for the project.
  2. Rename the .env.example file found in the root directory of the project to .env and update the environment variables accordingly. Note: For local development, leave the Cloudinary configs empty.
  3. Run the following commands to setup the database tables and create a super user.
$ python manage.py migrate
$ python manage.py createsuperuser
  1. Run the development server using:
$ python manage.py runserver
  1. Open a browser and go to http://localhost:8000/.

License

Usage is provided under the MIT License. See LICENSE for the full details.

recipe-api's People

Contributors

zobaa0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.