A simple URL shortening web application built with Node.js, Express, MongoDB, and EJS.
- Clone the repository.
- Install dependencies:
npm install
. - Start the server:
npm run devStart
. - Open
http://localhost:5000
in your browser.
URL Shortener is a web application that allows users to shorten long URLs into shorter, more manageable links. It provides a convenient way to share URLs.
Make sure you have Node.js installed on your system. Use the following commands to install the project dependencies:
npm install express mongoose ejs
npm install --save-dev nodemon
In the terminal, run the following command to start the development server:
npm run devStart
The server will start running on http://localhost:5000
.
- Building a RESTful web application with Node.js and Express.
- Integrating MongoDB as the database using Mongoose.
- Using EJS as a templating engine for generating dynamic HTML content.