Tinypath is a simple URL shortener project aimed at strengthening backend development fundamentals. It allows users to shorten long URLs into more manageable links.
- Shorten long URLs into custom shortened links.
- User authentication with JWT.
- Secure storage of URLs and user data in MongoDB.
- Dynamic rendering of web pages using EJS templating.
- Deployment-ready for Heroku.
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/ayushsarode/TinyPath-UrlShortener.git
-
Navigate to the project directory:
cd TinyPath-UrlShortener
-
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.env
file in the root directory. - Add the following environment variables:
PORT=8000 MONGODB_URI=your_mongodb_uri SECRET_KEY=your_secret_key_here
This project is licensed under the MIT License.