RESTful API to provide user logins and CRUD operations on Magic: The Gathering decks.
Explore the code »
View Demo
.
Report Bug
·
Explore React-client code
Table of Contents
A RESTful API that enables users to create/read/update/delete decks. Built to support a React-client that can be viewed at the link above.
To get a local copy up and running follow these simple steps.
No prequisites required.
- Clone the repo
git clone https://github.com/hcduffey/mtg-api
- Install the dependencies
npm i
- Run it
npm start
The /auth endpoint provides the login and user signup capability to obtain a JWT token. Once a JWT token is received, the client can make RESTful requests to the decks resource at /decks.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Cliff Duffey - @cliffduffey2
Project Link: https://github.com/hcduffey/mtg-api