Skip to content

Explore a RESTful API filled with your favorite Harry Potter characters perfect for creating enchanting projects. πŸ§™β€β™‚οΈβš‘ Built for developers and fans alike, this open-source API allows you to fetch character data, integrate it into your apps, and contribute to its growth.

License

Notifications You must be signed in to change notification settings

CarlosLeonCode/Harry-Potter-Open-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

36 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

image

railsVersion rubyVersion

GitHub last commit GitHub Release Date

A RESTful OPEN API for Harry Potter World


Setup project at local and make contributions πŸ€“

Fork project
  • Fork project in to your personal account and create a new branch with issue name, for example:

issue_1_new_characters


Clone project
  • Now you should clone the project from forked version in your account. It'll look like this:
git clone [email protected]:yourAccount/harry_potter_open_api.git

Local setup
  • Create database.yml file setup with your local database configuration. You can use next guide

  • Install gems

bundle install
  • Create the database with the following command in the terminal:
rails db:create
  • Run migrations:
rails db:migrate
  • Build data run the next command
rails hp_build:data

πŸ™Œ Now you can work and make your contribution!

  • Run the server
rails server
# or 
rails s

All contributions are welcome: bug fixes, data contributions, recommendations.



TO DO πŸ‘€

Models

  • Wizard Professions
  • Spells
  • Potions

πŸ—’ Documentation

Endpoints

Schools -> https://harry-potter-open-api.herokuapp.com/api/v1/schools

School houses -> https://harry-potter-open-api.herokuapp.com/api/v1/school_houses

School house -> https://harry-potter-open-api.herokuapp.com/api/v1/school_houses/1

Characters -> https://harry-potter-open-api.herokuapp.com/api/v1/people

Character -> https://harry-potter-open-api.herokuapp.com/api/v1/people/1

Students -> https://harry-potter-open-api.herokuapp.com/api/v1/people/students

Creatures -> https://harry-potter-open-api.herokuapp.com/api/v1/creatures

Creature -> https://harry-potter-open-api.herokuapp.com/api/v1/creatures/1


πŸ‘ Credits

Many thanks to:


πŸ“ƒ License

This project is available as open source under the terms of the MIT License.

About

Explore a RESTful API filled with your favorite Harry Potter characters perfect for creating enchanting projects. πŸ§™β€β™‚οΈβš‘ Built for developers and fans alike, this open-source API allows you to fetch character data, integrate it into your apps, and contribute to its growth.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages