Skip to content

Open-source API that provides character information from Avatar: The Last Airbender.

License

Notifications You must be signed in to change notification settings

paigeegorry/last-airbender-api

Repository files navigation

Last Airbender API

Authors: Paige Gorry

last-airbender-api.herokuapp.comlast-airbender-api.fly.dev

DEPRECATION: As of 1/15/23, the herokuapp url is deprecated. Please use the updated fly.io url.

Overview

This is an open-source API that provides character information from Avatar: The Last Airbender. This information is publicly sourced; I do not claim to own.

Technologies used

Node.js, MongoDB, Express, Mongoose, node-html-parser

Routes

All routes are GET routes

Error Conditions

Any error in query parameter values will likely respond with an empty array [] as a response. Double-check the parameters and ask for help if you think something isn't working properly.

Getting Started

I welcome any and all contributions! Feel free to submit a Pull Request with your changes to make this a better API for everyone!

  1. Clone and download GitHub repo

  2. Install dependencies:
    npm i

  3. Run scripts:
    npm run lint
    npm run pretest
    npm run test
    npm run test:watch
    npm run start (start node server)
    npm run start:watch (start nodemon server)
    npm run seed (seed database)
    npm run drop (drop MongoDB)
    npm run db-load-all (drop db and load seed data from scratch)

License

Standard MIT

Acknowledgements

Thank you to Kate Dameron for inspiring me to create my own API!

About

Open-source API that provides character information from Avatar: The Last Airbender.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published