/last-airbender-api

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

Primary LanguageJavaScriptMIT LicenseMIT

Last Airbender API

Authors: Paige Gorry

last-airbender-api.herokuapp.com

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, Jest, SuperTest, nodemon, dotenv, Mongoose, morgan, SuperAgent, node-html-parser, express-ga-middleware

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!