Skip to content

A Magic: The Gathering REST API with built-in user authentication and portfolios.

License

Notifications You must be signed in to change notification settings

ShepleySound/untapped-island-rest-api

 
 

Repository files navigation

Untapped Island REST API

This repository holds the source code for the Untapped Island REST API. Currently, the API is hosted on AWS using Elastic Beanstalk. The PostgreSQL database is hosted using Amazon RDS.

Sample queries for the API are available in Postman. Full route documentation is currently in development. Cards can be queried by making a GET request to the /cards route.

Technology / Architecture

The API, built using Express, queries a PostgreSQL database using Prisma Client as the ORM. Auth routes for user sign-up and sign-in are integrated. Password-based authentication is performed with Bcrypt as the primary password-hashing function. On authentication, a JWT is passed to the client for future authentication/authorization purposes. The JWT identifies the user and allows the client to perform API queries with CRUD functionality on the user's unique portfolio.

What is Untapped Island?

Untapped Island is a work-in-progress web application that allows users to search for Magic: The Gathering cards and add them to a personalized portfolio.

Resources

MTGJSON, an open-source catalog of Magic: The Gathering data Inspired by Scryfall

Authors

  • Robert Shepley 👋
  • Timothee Odushina
  • Junyoung Son
  • Daniel Frey
  • Keelen Fisher

About

A Magic: The Gathering REST API with built-in user authentication and portfolios.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 100.0%