Giter Club home page Giter Club logo

recipe_rest_api's Introduction

recipe_rest_api

This project serves as a backend API for several small projects.

The project is now hosted on PythonAnywhere: https://apidojo.pythonanywhere.com/


Post Request App API Endpoints:

All Names and Locations (GET): https://apidojo.pythonanywhere.com/test/

New Name and Location (POST): https://apidojo.pythonanywhere.com/test/ (Required fields: name, location)


Recipe App API Endpoints:

All Names and Locations (GET): https://apidojo.pythonanywhere.com/recipes/

New Name and Location (POST): https://apidojo.pythonanywhere.com/recipes/ (Required fields: title, author, ingredients, instructions)


Heads Up! Prep API Endpoints:

All Names and Locations (GET): https://apidojo.pythonanywhere.com/celebrities/

New Name and Location (POST): https://apidojo.pythonanywhere.com/celebrities/ (Required fields: name, taboo1, taboo2, taboo3)


Social Media API Endpoints:

Users:

All Users (GET): https://apidojo.pythonanywhere.com/users/

Create New User (POST): https://apidojo.pythonanywhere.com/users/ (Required fields: email, username)

Log In (GET): https://apidojo.pythonanywhere.com/login/username/password (Returns user's api key if login is successful, you can check for a 64 character string)

Example: A successful login would return a string that looks like this - 88fe6935442a444f5368df0da6a0b42fe571e04354a1c8486a0e667aeba86a82

View user data: https://apidojo.pythonanywhere.com/users/api_key (Returns all user data if the api key is correct, returns empty JSON file otherwise - accepts GET and PUT requests)

Posts:

All Posts (GET): https://apidojo.pythonanywhere.com/posts/

New Post (POST): https://apidojo.pythonanywhere.com/posts/ (Required fields: user, title, text)

Post Details (GET): https://apidojo.pythonanywhere.com/posts/pk

Update Post (POST): https://apidojo.pythonanywhere.com/posts/pk

recipe_rest_api's People

Contributors

tmdstudios 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.