This is a portfolio project built with Next.js, showcasing various projects and skills.
It is live at massick.dev.
- Built with Next.js
- TypeScript
- Tailwind CSS
- Payload CMS
- Easy deployment on Vercel
First, you need to set up a PostgreSQL database. On local development, you can use Docker:
docker run --name my-postgres-db -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
Then, create a .env
file in the root of the project with the following content:
DATABASE_URL=DATABASE_URI=postgres://postgres:mysecretpassword@localhost:5432/postgres
PAYLOAD_SECRET=your-secret
To run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.