🐬
Anoyi's Personal Website Lightweight full stack web application development
🚀 Quick Start
First, clone the repo:
git clone https://github.com/AnoyiX/anoyi.git
▼ Local Development
# install packages
yarn
# run
yarn dev
Open http://localhost:3000 with your browser to see the result.
▼ Configuration
You can use the following environment variables to modify the application's configuration:
Name | Default | Description |
---|---|---|
MONGODB_API | null |
MongoDB Atlas API |
MONGODB_API_KEY | null |
MongoDB Atlas API Key |
MONGODB_DATASOURCE | null |
MongoDB Atlas DataSource |
NEXT_PUBLIC_GA_MEASUREMENT_ID | null |
Google Analytics Measurement ID |
Custom user data saved in ./data
, you can change them to yourself.
▼ Deployment
Docker
- Build:
docker build -t nextjs-anoyi .
- Run:
docker run -d -p 3000:3000 nextjs-anoyi
Vercel
- New Project
- Add Your Github Account
- Import Your Git Repository
Then vercel will deploy your application automatically when you push your code.
Others
To learn more, see Next.js Deployment.