Giter VIP home page Giter VIP logo

magic-vault's Introduction

Magic Vault

A web application to keep track of your Magic the Gathering collection

Features

  • Search for any card
  • Create collections
  • See value of your collections (updated daily)

Stack

  • This is a T3 Stack project bootstrapped with create-t3-app.
  • We are using Supabase for our database at the moment, we might use other features as we need them.

Local Development

  • install dependencies

        npm install
  • download .env file

        npx vercel env pull
    • rename .env.local to .env
    • remove everything in .env for vercel (usually starts at NX_DAEMON)

    The vercel env vars mess with most things you want to do locally, like next_auth and prisma migrations. So removing them will help. There's probably a more elegant solution, but this was the easiest path.

  • get your local supabase database ready to go

        npx supabase start
    
        npx prisma db push // Syncs database with schema
    
        npx prisma db seed // Seeds database
    
  • run npm run dev

magic-vault's People

Contributors

mathewmorris avatar toad-rider avatar

Watchers

 avatar

magic-vault's Issues

[feature][request]: I can lookup a card

As a user, I should be able to:

  • search for a card using it's name
  • see a list of cards that match what I searched for
  • see "No results" if my card doesn't exist in the database
  • click on a card to see more details

As a user, I'd like to be able to:

  • see suggestions of what I meant, maybe as I type, or after I search
  • hover over cards to see quick details

Why?

Because I want to see what cards Wizards of the Coast has created.

How to read only name of card

If we use Tesseract on a card now, it will read everything on the card. I only want to grab the name of the card.

I'm thinking this will be the process it goes through:

  • Take picture of full card
  • identify the Name section
  • crop the name out of the picture
  • give to Tesseract to read

References:
Anatomy of card

Implementing Redis Document Cache for Efficient MTG Card Searches with Scryfall API

Develop a caching layer using Redis to store and retrieve Magic: The Gathering card information, optimizing search efficiency by minimizing repeated queries to the Scryfall API. This task involves setting up a Redis instance, integrating it with a T3 stack application, and implementing logic to cache card data as JSON documents. The goal is to enhance the application's performance and user experience by reducing load times and API request overhead, leveraging Redis' fast in-memory data storage capabilities.

Design and Implement better UI

We have no User Interface (UI) designed. It would be nice to have something to build towards while we're adding this functionality.

Designs Needed:

  • Scanning Cards
  • Deck Building
  • Collection Value

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.