Giter Club home page Giter Club logo

harry-potter-api's Introduction

Harry Potter Search API ๐Ÿง™๐Ÿฝโ€โ™‚๏ธ๐Ÿช„

๐ŸŽฅ Abstract

Are you a fan of the fantastic Wizarding world of Harry Potter? This application has over 100 characters with in-depth information about them like their wands, houses, and more!

๐ŸŽฅ Contributors

David Kwon

๐ŸŽฅ Installation Instructions

  1. Fork repository
  2. Clone repository onto your local machine
  3. cd into root directory of repository
  4. Run npm install to install project dependencies
  5. Run node server.js OR nodemon server.js to start the local server and navigate to localhost:3000

๐ŸŽฅ API Endpoints

Description URL Method Required Properties for Request
Home "http:localhost:3000" GET none
Get all characters "http:localhost:3000/api/v1/characters" GET none
Get single character "http:localhost:3000/api/v1/characters/:id" GET none
Update entire character "http:localhost:3000/api/v1/characters/:id" PUT ```json
            {                     
            name: <String>,
            gender: <String>,
            job: <String>,
            house: <String>,
            wand: <String>,
            patronus: <String>,
            species: <String>,
            bloodStatus: <String>,
            hairColor: <String>,
            eyeColor: <String>,
            loyalty: <String>,
            skills: <String>,
            birth: <String>,
            death: <String> 
            } 
            ``` |

๐ŸŽฅ Technologies Used

Node.js Badge Nodemon Badge Express Badge

๐ŸŽฅ Context

  • ๐ŸŽฌ Goals:
    • Gain competency with Express framework and building RESTful APIs on Node.js
  • ๐ŸŽฌ Wins:
    • Created my own unique RESTful API
  • ๐ŸŽฌ Challenges:
    • It was interesting self studying different approaches on PUT/PATCH/DELETE methods as these were not covered in the curriculum!

harry-potter-api's People

Contributors

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