Skip to content
This repository was archived by the owner on May 18, 2021. It is now read-only.

Latest commit

 

History

History
53 lines (35 loc) · 1.28 KB

File metadata and controls

53 lines (35 loc) · 1.28 KB

MtgCard.API

This project exists as the source code for my Node.JS API to access card data for various Magic the Gathering apps I am building.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

MtgCard.API requires:

  1. Node.JS

Installing

  1. Clone the repository
git clone https://github.com/pattertj/MtgCard.API.git
  1. Setup the database on config/database.js. I used mLab.com for mine.
module.exports = {
    remoteUrl : 'YOUR_MONGODB_URL'
};
  1. Install the dependencies
npm install
  1. Run the application in development mode
npm run dev
  1. Access http://localhost:8000/api/cards/atog and you're ready to go!

Built With

Authors

  • Tyler Patterson - Initial work - pattertj

License

This project is licensed under the MIT License - see the LICENSE.md file for details