rcaloras / jellopan-next

Reboot of Jellopan.com

Home Page:jellopan-next.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jellopan.com 2.0

New version of https://github.com/Benuuu/JelloPan

This is a Next.js app using Bootstrap as well as Prisma ORM for persisting to Postgres. Original yarn version is 1.22.17.

Develop with Yarn

yarn run dev

Prisma Models

# Regenerate Prisma models
yarn prisma generate
# Apply to database schema
yarn prisma db push

Importing into Postgres

Can import into Postgres using the original db preserved as a csv. Does a 'client side' copy.

psql -d 'jellopan' -c "\COPY event(host, event_date, album, ingredient, created_at, updated_at) FROM "\'$PWD/public/events_db.csv\'" DELIMITER ',' CSV HEADER;"

This is the starter project for the fullstack tutorial with Next.js and Prisma. You can find the final version of this project in the final branch of this repo.

About

Reboot of Jellopan.com

jellopan-next.vercel.app


Languages

Language:TypeScript 94.6%Language:SCSS 5.4%