Skip to content

jonnicwolf/heart_of_the_cards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Esperi

Esperi is a tarot reading app that offers users the ability to select up to five cards. These cards are sourced from an API and presented alongside a personalized reading.

Client

API Reference

Cards

Get all cards

  GET https://tarotapi.dev/api/v1/cards

Get random card

**Replace $n with desired amount (number)

  GET https://tarotapi.dev/api/v1/cards/random

Get n random cards

    GET https://tarotapi.dev/api/v1/cards/random?n=$n

Get all card scans

    GET http://data.totl.net/tarot-rwcs-images/

Ace of Cups

    GET http://data.totl.net/tarot-rwcs-images/c01.jpg

OpenAI

  openai.chat.completetions.create

Color Reference

Color Hex
Example Color #e1c4ca
Example Color #a57fa0
Example Color #db8aae
Example Color #b25385
Example Color #699897

Run Locally

Clone this project

    git clone https://github.com/jonnicwolf/heart_of_the_cards.git

then

    cd heart_of_the_cards/

then

    cd client/

Start localhost

  npm run dev

Build

    npm run build

Fonts

Headers

Titles

Normal Text

Features

  • User authenticated
  • AI card interpreter
  • Cross platform

Tech Stack

Client: React, Styled-Components, React Motion, p5.js, OpenAI, Firebase Auth, TanStack Query

Server: Node, Express, Vercel