www
www copied to clipboard
๐
16yo web developer and designer
Home ยท Ask Me Anything ยท Uses ยท Stats ยท Blog
๐ Quickstart
Run the website locally
git clone https://github.com/harshhhdev/harshhhdev.github.io.git
Setting up the project
cd harshhhdev.github.io
# Install deps
yarn
Setting up the environment
Now, rename .env.EXAMPLE
to .env
First, create a new database from CockroachDB serverless and paste the connection string in DATABASE_URL
.
Register a new Spotify application, and paste your credentials onto the proper fields. Next, obtain a REFRESH_TOKEN
by following this tutorial.
Finally, head over onto GitHub, and go into Settings > Developer Settings > OAuth apps and hit "New OAuth App". Configure the app to your needs, and copy/paste the information onto your .env
file accordingly.
Starting server
yarn dev
Server should now be running on localhost
๐จ Tools Used
- Next.js
- TypeScript
- TailwindCSS
- CockroachDB
- Framer Motion
- Prisma
- SWR
- contentlayer
- NextAuth
- Feather Icons
- Splitbee
- rehype
- Prettier
- ESLint
๐ Adding Translations
Interested in contributing to this repository? Add translations for a language you know!
First, go into the public
directory and create a new folder with the code of your language. Inside that, create a new file called common.json
. Paste the file from public/en/common.json
to get a template of what the content in English would be, then begin to translate it into the language of your choice!
Special thanks to:
- FleshMobProductions and Yรคn for German translations
- CodeMyst for Serbian translations
- Jirushi for French translations
๐ค Contributing
After setting up the project, and making changes:
git add .
git commit -m "commit message"
git push YOUR_REPO_URL YOUR_BRANCH