Skip to content

harshhhdev/harshhhdev.github.io

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

image

Harsh Singh

15yo 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

🌎 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:

🤞 Contributing

After setting up the project, and making changes:

git add .
git commit -m "commit message"
git push YOUR_REPO_URL YOUR_BRANCH