bonabrian.com
March 26, 2025 ยท View on GitHub
My Own Digital Home on the Internet
This is my personal website built with Next.js, Tailwind CSS, and hosted on Vercel
Features
- ๐ฅ Next.js with app router directory structure
- โ๏ธ React
- โก๏ธ Typescript
- ๐ Tailwind CSS
- ๐งฉ Content collections
- โ๏ธ SEO metadata
- ๐ ESLint โ Find and fix problems in your code
- ๐ Prettier โ Format your code consistently
- ๐ถ Husky & Lint Staged โ Run scripts on your staged files before they are committed
- ๐ค Conventional Commit Lint
Running Locally
-
Clone this repository
git clone https://github.com/bonabrian/bonabrian.com.git -
Change directory
cd bonabrian.com -
Install dependencies
yarn install -
Create a
.envfile similar to.env.exampleand input environment variables# Client NEXT_PUBLIC_APP_URL=http://localhost:3000 NEXT_PUBLIC_GOOGLE_ANALYTICS= NEXT_PUBLIC_SENTRY_DSN= NEXT_PUBLIC_AVAILABLE_FOR_HIRE=true # Server # database DATABASE_URL= # next-auth NEXTAUTH_URL=http://localhost:3000 NEXTAUTH_SECRET= # sentry SENTRY_DSN= SENTRY_AUTH_TOKEN= # google GOOGLE_ID= GOOGLE_SECRET= # github GITHUB_ID= GITHUB_SECRET= GITHUB_READ_USER_TOKEN_PERSONAL= # spotify SPOTIFY_CLIENT_ID= SPOTIFY_CLIENT_SECRET= SPOTIFY_CLIENT_REFRESH_TOKEN= # wakatime WAKATIME_API_KEY= -
Start hacking
yarn dev
Deployment
Deploy to Vercel, Netlify, etc
Files to customize
constants/site.ts- updatesitewith yours.features/resume/experiences.tsx- update with your cool experiences.app/about/page.tsx- update with yours.app/resume/page.tsx- (optional) update with your resume or you can remove it.public/share/resume.pdf- (optional) replace with your best resume.public/media/*- store assets such as images and favicons.content- replace with your blog posts, projects, and snippets.next.config.ts- configuration related to Next.js. You need to adapt the Content Security Policy if you want to load scripts, images etc. from other domains.
Stack
- Framework: Next.js
- Styling: Tailwind CSS
- Database: PlanetScale
- ORM: Prisma
- Authentication: NextAuth.js
- Deployment: Vercel
- Content: MDX, Content Collections
- Monitoring: Sentry
License
Licensed under the MIT License.