/dash

Manage and review your collection of decks of flashcards locally 🚀

Primary LanguageTypeScript

      _           _     
     | |         | |    
   __| | __ _ ___| |__  
  / _` |/ _` / __| '_ \ 
 | (_| | (_| \__ \ | | |
  \__,_|\__,_|___/_| |_|
                        
                           

Version


dash is a platform desigend to help you manage and review your collection of decks of flashcards locally 🚀. It uses bun, ElysiaJS + jsx, prisma, tailwind CSS and HTMX under the hood to provide a minimalist yet reactive exprerience.

Prerequisites

🧰 Setup

Clone the repository anywhere on your machine

git clone git@github.com:alexis-moins/dash.git

Install the dependencies using bun

bun install

Create a .env file from the .env.local file

cp .env.local .env

Launch the database container

just up

🌱 Seeding the database

First, ensure the database container is running! You should see it when typing docker ps

Create the tables used by dash

bunx prisma db push

Seed the database with default data

bunx prisma db seed

🚦 Starting your journey

Until prisma works in a bun docker container, we need to manually start the project aside from launching the database container.

Start the server

bun run dev

Visit dash here!