Skip to content

fullstacksoup/blog-nextjs-mui-postgres-demo

Repository files navigation

Next.JS MUI version 5.11.x Postgres CRUD App

Vercel Postgres - Create Read Update Delete Example App

List of features for this example

  1. Next.js MUI Postgres CRUD
  2. Simple CRUD App using Vercel's Postgres Storage

Running locally in development mode

npm install
npm run dev

Note: If you are running on Windows run install --noptional flag (i.e. npm install --no-optional) which will skip installing fsevents.

Building and deploying in production

If you wanted to run this site in production, you should install modules then build the site with npm run build and run it with npm start:

npm install
npm run build
npm start

You should run npm run build again any time you make changes to the site.

Note: If you are already running a webserver on port 80 (e.g. Macs usually have the Apache webserver running on port 80) you can still start the example in production mode by passing a different port as an Environment Variable when starting (e.g. PORT=3000 npm start).

About

Next.js MUI Postgres CRUD App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published