Skip to content

michu2k/t3-portfolio

Repository files navigation

T3 Portfolio

An open-source portfolio template with a custom admin dashboard bootstrapped with create-t3-app.

Warning

This project is in early development stage and is not recommended for production use. Various aspects of the application are subject to change.

T3Portfolio Dashboard and landing page view

Tech Stack

Run the project

  1. Clone the repository and install all dependencies using pnpm
  2. Copy the .env.example to the .env file and update the variables
  3. Push the prisma schema to the database pnpm run prisma:push
  4. Start the development server pnpm run dev
  5. If necessary, run prisma studio to check the db data pnpm run prisma:studio

Environment variables

DATABASE_URL=
DATABASE_DIRECT_URL=
NEXTAUTH_SECRET=
NEXTAUTH_URL=
GOOGLE_CLIENT_ID =
GOOGLE_CLIENT_SECRET =
  • AWS variables required to support uploading images to S3. AWS S3 Documentation. More information on how to configure the AWS services are available here.
AWS_S3_BUCKET=
AWS_S3_REGION=
AWS_S3_ACCESS_KEY=
AWS_S3_SECRET_ACCESS_KEY=
  • Allowed email addresses with access to the dashboard (separated by commas)
ALLOWED_EMAIL_ADDRESSES=

How do I deploy this?

Follow the deployment guides for Vercel, Netlify and Docker for more information.

License

This project is under the MIT license