/araon.space

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

araon.space

My personal portfolio website designed to be simplistic and clean while including features like MDX blog posts with view counts, a dark mode toggle, photo gallary, an about page, and seemless sync with unsplash.

Tech Stack

backend:

frontend:

Getting Started

Make sure you have Node.js v18.17.0+ installed on your machine.

  1. Install Dependencies: npm install
  2. Environment variables: Copy .env.example to a new .env.local
  3. Database Setup: See Database Setup
  4. Prisma Setup: npm install @prisma/client (if you haven't already), then run npx prisma generate.
  5. Start Developing: npm run dev, this will automatically create the .contentlayer files and start the Next.js development server.

Database Setup

  • Sign up for a supabase account
  • Create a new database in supabase
  • Update the DATABASE_URL environment variable in your project's .env.local file with the connection string provided by Supabase

Deployment

This project can be easily deployed to Vercel. Simply connect your Vercel account to your GitHub repository, and Vercel will automatically build and deploy your application with each new push to the main branch.

Add the project .env variables to your Vercel project settings.