harshhhdev / guestbook

πŸ–– Harsh's Guestbook

Home Page:https://guestbook.hxrsh.in

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Harsh's Guestbook

πŸ“‚ Project files for a blog post about Building a Serverless Application with Next.js and CockroachDB!

πŸš€ Quickstart

Run the website locally

git clone https://github.com/harshhhdev/guestbook.git

Setting up the project

cd guestbook

# Install deps
yarn

Rename .env.local.EXAMPLE to .env.local

Now, go to CockroachDB, and create a new cluster. Create a user, and hit "connect", navigate over to connection string follow the instructions.

Next, run yarn generate && yarn migrate:dev to pull your schema from your prisma/schema.prisma file into CockroachDB.

Starting server

yarn dev

Server should now be running on localhost

πŸ”§ Tools Used

🀞 Contributing

After setting up the project, and making changes:

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

About

πŸ–– Harsh's Guestbook

https://guestbook.hxrsh.in


Languages

Language:TypeScript 87.5%Language:JavaScript 7.5%Language:CSS 4.9%