Skip to content

rmzlb/carbonable-dapp

 
 

Repository files navigation

Carbonable Homepage

Carbonable homepage written in React with Remix

Usage

Set up the project

📦 Install the requirements

fly auth signup

🎉 Install

npm install

⛏️ Run for dev

npm run dev

💾 Database

Dev

Installation

Install Postgres

Start Postgres

Create a database named carbonable_dapp

Connection

Connection with pgAdmin: localhost:5432 postgres/[password]

Build database
# Push database schema locally
npx prisma db push

# Seed database
npx ts-node prisma/seed.ts

# Create migration file
npx prisma migrate dev --name [name of the migration]

If your database gets messed up, you can always delete the prisma/dev.db file and run npx prisma db push again. Remember to also restart your dev server with npm run dev.

Distant database

Connection
flyctl proxy 15432:5432 dev-carbonable-db.internal

Connection with pgAdmin: localhost:543154322 postgres/[password]

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 69.6%
  • CSS 27.2%
  • JavaScript 2.3%
  • Other 0.9%