Skip to content

HunterHeston/url-shortener

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

1.Clone the repo and install dependencies npm i.

  1. Create a .env file in your project root and add: DATABASE_URL="mysql://url-to-your-database.com

  2. Initialize submodules: git submodule init then git submodule update

  3. Generate prisma types: npx prisma generate --schema submodules/database/prisma/schema.prisma

  4. Push database schema to database server: npx prisma generate --schema submodules/database/prisma/schema.prisma

  5. run the development server: npm run dev

Open http://localhost:80 with your browser to see the result.

About

A URL shortening service with fun animations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published