Skip to content

URLShort is a URL shortener application that is built with Nuxt 3 and MongoDB.

Notifications You must be signed in to change notification settings

jo0707/urlshort

Repository files navigation

URLShort

URLShort is a URL shortener application that is built with Nuxt 3 and MongoDB.

App

Try It : URLShort

Library, Frameworks & Tools Used

Setup & Build

if you want to try, continue or modify this project, you can follow these steps:

  • Clone this project
git clone https://github.com/jo0707/urlshort
  • Change directory to the project
cd urlshort
  • Install dependencies (bun)
bun install

This project use MongoDB as its link database:

  • Create .env file on the root of the project
  • Create a MongoDB Atlas account
  • Create a new deployment / project (Use M0 to get free plan)
  • On the overview tab, click Connect > Drivers > Nodejs
  • copy your connection string to .env file

.env example

MONGODB_URI=mongodb+srv://changeyourusername:[email protected]/app?retryWrites=true&w=majority
  • Run the project
bun dev
  • Build the project
bun run build
#or
bun run generate # static hosting

That's it!

Contributing

Made by jo0707

Feel free to contribute to this repository!

About

URLShort is a URL shortener application that is built with Nuxt 3 and MongoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published