URLShort is a URL shortener application that is built with Nuxt 3 and MongoDB.
Try It : URLShort
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!
Made by jo0707
Feel free to contribute to this repository!