Skip to content

lukeac123/link

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started - Font End

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

http://localhost:3000/api/hello is an endpoint that uses Route Handlers. This endpoint can be edited in app/api/hello/route.ts.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Getting Started - Data Base

Launch a new instance of a hosted postgress sql data base on Railway and copy in the new Data Base Url to the .env file

Push the schema to the data base:

npx prisma migrate dev

If this fails try reseting the data base:

 npx prisma migrate reset

Run the Seed script to add dummy data into the Database

 npx prisma db seed

To see cards from the seed user, login with the seed email address and password

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.