This is a URL shortener project built with SvelteKit.
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of Node.js and npm.
- You have a Windows/Linux/Mac machine.
- You have installed MongoDB.
To set up the project, follow these steps:
-
Clone the repository:
git clone https://github.com/bmqube/URL-Shortner.git
-
Navigate to the project directory:
cd URL-Shortner
-
Rename the
.env copy
file to.env
:mv .env_example .env
-
Open the
.env
file and add your MongoDB URI:MONGODB_URI=your-mongodb-uri
-
Save the
.env
file. -
Install the dependencies:
npm install
-
Start the development server:
npm run dev
-
Open your browser and visit
http://localhost:5173
to see the app in action.
- SvelteKit
- MongoDB
- Tailwind