Skip to content

G-bot987/meal-planner

Repository files navigation

Link

deployed

Local instance

Pre reqs

  1. node
  2. local postgres follow
  3. vercel CLI follow
  4. prisma CLI follow
  5. table plus is recommended follow db Beaver is a good shout follow

if you struggle with your local db instance

  1. follow
  2. here provides a url construction example.
  3. this vid was helpful

your ENV

if you struggle to out the connection string see above or reach out to me here or on linkedIn

  • POSTGRES_PRISMA_URL = "YOUR CONNECTION to local db"
  • POSTGRES_URL_NON_POOLING = "duplicate your connection to local db for local instance"

start app

  1. npm i or your package manager of choice
  2. npx prisma generate
  3. npx prisma migrate deploy"
  4. npx prisma db seed
  5. start app with npm run dev

technologies

  • Next 14
  • Prisma ORM
  • Postgres
  • SCSS
  • BEM
  • Next Auth
  • TypeScript
  • zustland
  • jest

things to do

whip store data when navigating back and forth, keeping old data in store if only name changes for instance other food properties remain.