Skip to content

neupgroup/Neup.Code

Repository files navigation

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

Prisma + PostgreSQL

This project is now scaffolded for Prisma 7 with PostgreSQL.

  1. Add your connection string to .env or .env.local:
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/neup_code?schema=public"
  1. Generate the client if needed:
npm run db:generate
  1. After you add models to prisma/schema.prisma, create your first migration:
npm run db:migrate -- --name init
  1. Open Prisma Studio when you want to inspect the database:
npm run db:studio

The app-side Prisma singleton lives in src/lib/prisma.ts, and the generated client is emitted to src/generated/prisma.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

CSS / Tailwind Troubleshooting

If styles look stale or missing, use the reset workflow:

npm run dev:reset

This command:

  1. Stops stale Next.js processes using the app port (2633) if found.
  2. Clears the .next cache.
  3. Starts a fresh dev server.

If you only want to clear cache:

npm run clean

Also avoid dynamic Tailwind class construction like text-${color}-500 in runtime strings. Keep class names static in source files so Tailwind can detect and generate them.

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

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages