Skip to content

🔗 A link shortener built with Next.js & Prisma

Notifications You must be signed in to change notification settings

cxntered/quartz

Repository files navigation

A link shortener built with Next.js & Prisma

Development

Requirements

  • Node.js: For running the website (v18 or higher)
  • Yarn: For installing dependencies (corepack enable)
  • PostgreSQL: For storing shortened links
  • Redis: For rate limiting

Running

# Install dependencies
$ yarn install

# Rename .env.example to .env and fill in the values
$ mv .env.example .env
$ code .env

# Build the website
$ yarn build

# Start the website
$ yarn start

Other Commands

# Run the development server
$ yarn dev

# Lint the code
$ yarn lint

# Lint the code and fix errors
$ yarn lint:fix

# Format the code
$ yarn format

# Format the code and fix errors
$ yarn format:fix

About

🔗 A link shortener built with Next.js & Prisma

Resources

Stars

Watchers

Forks

Languages