Project is completed, in production, and continuously integrated.
- Single Sign On (SSO) demos:
- Microsoft https://aaanh.com/sso/msft via App Registration on Entra
- Google https://aaanh.com/sso/google via Google Cloud API & Services
- Cloudflare DNS
- Cloudflare SSL
- Bot fight
- IP blacklisting
- DDoS protection
- Software pre-requisites: nodejs, npm (comes with nodejs when installed on Windows), git
- Tool: I recommend using Visual Studio Code, or any vim distributions :D
- Windows
git clone https://github.com/aaanh/homepage; cd homepage; npm i; npm run dev
- Linux, macOS
git clone https://github.com/aaanh/homepage && cd homepage && npm i && npm run dev
I recommend using Vercel but if you're averse to vendor lock-in, Github Pages should be fine.
Note: I currently am not maintaining a Dockerfile for this project version, but will probably in the future.
Assuming you are deploying on a Linux-based server
- Install pre-requisites, clone, install dependencies
- Build:
npm run build
- Serve:
npm run start
- Install
nginx
for reverse proxy, run withsystemctl enable --now nginx
on systemd distros. - Install
ufw
for firewall management, run withsudo ufw enable
, configure to allow port 80 and 443sudo ufw allow http && sudo ufw allow https
. - Configure
nginx
to route your ports 80 and 443 to internal port3000
, which is the default port thatNextjs
serves.
- Production: https://aaanh.com (v4)
- v3: https://v3.aaanh.com
- v2: https://v2.aaanh.com
- You'll need to createa Spotify Developer Application https://developer.spotify.com/dashboard/
- You will need to get the various keys/SECRETS (pictured below). Recommended tutorial to do so: https://dev.to/theodorusclarence/how-to-show-now-playing-in-spotify-with-next-js-15h5