Code Monkey home page Code Monkey logo

dbbikes2's Introduction

Dopaminaries

Welcome to **Dopaminaries **, motorcycle website:

Setup

After forking the project:

  1. Run npm install in your terminal.
  2. Run npm run server. This will run your backend on port 8002.
  3. In a new terminal, run npm start. This will run your React app on port 8000.

Make sure to open http://localhost:8002/bikes in the browser to verify that your backend is working before you proceed!

The base URL for your backend is: http://localhost:8002

Deliverables

As a user, I should be able to:

  • See profiles of all bikes rendered in Bikes page.
  • Add an individual bike to my collection by clicking on it.

GET /bikes

Example Response:

[
   {
      "id": 101,
      "name": "Honda-Monkey",
      "health": 94,
      "damage": 20,
      "armor": 63,
      "bot_class": "Support",
      "catchphrase": "beginner",
      "avatar_url": "https://pngimg.com/uploads/motorcycle/small/motorcycle_PNG3165.png",
      "created_at": "2018-10-02T19:55:10.800Z",
      "updated_at": "2018-10-02T19:55:10.800Z"
    },
    {
      "id": 102,
      "name": "BMW-66",
      "health": 86,
      "damage": 36,
      "armor": 77,
      "bot_class": "Medic",
      "catchphrase": "beginner",
      "avatar_url": "https://pngimg.com/uploads/motorcycle/small/motorcycle_PNG3140.png",
      "created_at": "2018-10-02T19:55:10.827Z",
      "updated_at": "2018-10-02T19:55:10.827Z"
    },
]

dbbikes2's People

Contributors

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