Giter Club home page Giter Club logo

adopt_spot's Introduction

adopt_spot

🐢🐱

Backend REST API Docs

Get page of pets

/pets

{
    "results": [
        {
            "age":"10 and 1 month(s)",
            "breed": "",
            "color":"Tan",
            "contact":"",
            "description":"",
            "location":"West Midlands: Bromsgrove rehoming centre",
            "name":"Duke",
            "pic":"https://www.bluecross.org.uk//sites/default/files/d8/722322.jpg",
            "sex":"Male",
            "species":"dog",
            "url":"https://www.bluecross.org.uk/pet/duke-1138958"
        },
    ],
}

Running the backend Flask API

See the README in adopt-spot-backend for more info.

With docker

  • Ensure that docker is installed (docker desktop works)

  • cd adopt-spot-backend

  • make build-docker

  • make run-docker

  • By default, the API is exposed on localhost:8000. Call it with

    curl localhost:8000/pets

Without docker

  • Install poetry
  • cd adopt-spot-backend
  • make start-api
  • curl localhost:8000/pets

Run FE Server

Using react-responsive

  • Download here or use yarn install
  • https://www.npmjs.com/package/react-responsive

adopt_spot's People

Contributors

gtoutin avatar nandini92 avatar beckibuzz93 avatar jatin-dua 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.