Skip to content

swayam-coder/url-shortener-nextjs

Repository files navigation

* Currently rearranging the project to a monorepo setup with Golang + Gin backend (See "monorepo" branch)

SLink

A URL Shortener and Manager App built by using NextJS, React Query, Prisma.

Features

  • Shorten URL
  • User Login/Register
  • Enable/Disable URL
  • See URL Analytics
  • SSR Support (pending)
  • Rewriting the API in GraphQL (pending)
  • Convert your URL to a QR Code (pending)

Technologies Used

  • NextJS v12 (API Routes, Edge Middlewares)
  • React-Query
  • Prisma 2 (MySQL)
  • JWE(Encrypted JWT) Authentication - Asymmetric Signing using jose npm library (click here) - RSA265 Signing Algorithm
  • Auth0

Run Locally

1. Clone the repository

$ git clone https://github.com/swayam-coder/url-shortener-nextjs.git

2. Install Dependencies

$ npm install 

3. Setup MySQL Atlas Database

Set up a MySQL database according to the given schema definition in the project.

4. Run locally

$ npm start 

About

A url shortener and manager web application build using NextJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages