Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aungphyo-dev/pf-2

my personal portfolio website using nextjs14,nextauth,supabase and mdx.
https://github.com/aungphyo-dev/pf-2

mdxremote nextauth nextjs supabase supabase-js zod

Last synced: 2 months ago
JSON representation

my personal portfolio website using nextjs14,nextauth,supabase and mdx.

Awesome Lists containing this project

README

        

![](https://aungpyaephyo.vercel.app/_next/image?url=https%3A%2F%2Fafyxxqlmftohiygrtfjm.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fprojects%2Fimages%2F1704215572301portfolio.png&w=1920&q=75)

- **Framework**: [Next.js](https://nextjs.org/)
- **Database**: [Supabase](https://supabase.com/)
- **Authentication**: [NextAuth.js](https://authjs.dev/)
- **Deployment**: [Vercel](https://vercel.com)
- **Styling**: [Tailwind CSS](https://tailwindcss.com)
- **Analytics**: [Vercel Analytics](https://vercel.com/analytics)
- **Typography**: [Tailwind Typography](https://tailwindcss.com/docs/typography-plugin)
- **MDX**: [Next Mdx Remote](https://github.com/hashicorp/next-mdx-remote)

First, run the development server:

```bash
git clone https://github.com/aungpyaephyo1412/aungpyaephyo.git
cd aungpyaephyo
npm install
npm run dev
```

Create a `.env` file

```dotenv
AUTH_SECRET=********************************
AUTH_URL=********************************
NEXT_PUBLIC_SUPABASE_URL=********************************
NEXT_PUBLIC_SUPABASE_ANON_KEY=********************************
NEXT_PUBLIC_SUPABASE_IMAGE_URL=********************************
NEXT_PUBLIC_SUPABASE_SERVICE_KEY=********************************
```

## Supabase Database Schema

```sql
create table
public.projects (
id bigint generated by default as identity,
title text not null,
description text not null,
demo text null,
image text not null,
skills text[] not null,
made_at text null,
year text not null,
constraint projects_pkey primary key (id)
) tablespace pg_default;

create table
public.view_blogs (
id bigint generated by default as identity,
views bigint not null,
slug text not null,
constraint view_blogs_pkey primary key (id),
constraint view_blogs_slug_key unique (slug)
) tablespace pg_default;
```

## License

1. You are free to use this code as inspiration.
2. Please do not copy it directly.
3. Crediting the author is appreciated.