Giter VIP home page Giter VIP logo

petful-new's Introduction

Petful

Please use yarn instead of npm

In root directory run:

yarn install

and it will install all necessary dependencies for server and client. In the root directory we're installing npm-run-all in order to run both sides from a single terminal instance:

yarn run dev

This starts the server (which queues up the Queue) as well as the client (which opens the default browser).

On landing page just click the button to visit the Adoptions in Progress.

On the Dashboard component we can see the queue and it stops once it comes across an animal without an assigned adopter. That's our cue to click the respective button, which also sends a request to server to continue dequeuing.

For illustration and educative purposes, each node that is dequeued gets re-enqueued.

The queues will never deplete.

Deployed

The client is deployed at:
https://petful.tyxou.now.sh

or directly in queues:
https://petful.tyxou.now.sh/dashboard

While the server is served from:
https://server-petful.herokuapp.com/api

Server uses CORS and direct requests are not allowed.

petful-new's People

Contributors

tparveen avatar

Watchers

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