kalecream / OldWebBrain

My Personal & Portfolio Website

Home Page:https://www.sabrinamedwinter.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🧠 Old Web Brain

img

Technologies

img img img img img

Installation

General

# Install dependencies
yarn 

# View the website at: 
# http://localhost:3001
yarn dev

Prisma

# Install the Prisma CLI
yarn add --dev prisma

# Generate artifacts
npx prisma generate

# Create tables
npx prisma db push

# See the tables
npx prisma studio

Note

If you have problems with environment variable not being found, make sure the .env file is just .env and not .env.local with the prisma information.

# Update database after schema change
npx prisma migrate dev --create-only --name "migration-name"

npx prisma migrate dev

Warning

Your tables will be dropped and you will lose data unless you edit the migration file to renaming instead of dropping. It's a simple SQL query. Here is an SQL Cheatsheet.


About

My Personal & Portfolio Website

https://www.sabrinamedwinter.com

License:Apache License 2.0


Languages

Language:TypeScript 60.0%Language:SCSS 25.7%Language:JavaScript 7.8%Language:MDX 5.6%Language:CSS 0.9%