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.
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.
MtgCard.API requires:
- Node.JS
- Clone the repository
git clone /~https://github.com/pattertj/MtgCard.API.git
- Setup the database on config/database.js. I used mLab.com for mine.
module.exports = {
remoteUrl : 'YOUR_MONGODB_URL'
};
- Install the dependencies
npm install
- Run the application in development mode
npm run dev
- Access http://localhost:8000/api/cards/atog and you're ready to go!
- Tyler Patterson - Initial work - pattertj
This project is licensed under the MIT License - see the LICENSE.md file for details