A simple URL shortening application built with Express and TypeScript.
This project is a straightforward URL shortener developed using Express and TypeScript. It provides an interface for shortening long URLs and redirecting users to the original URLs.
- Quick and easy URL shortening.
- Use of TypeScript for better maintainability.
- Integration with Prisma for database management.
Before you begin, ensure you have met the following requirements:
- Node.js: Download and install Node.js.
- pnpm: Install pnpm globally.
- Git: Download and install Git.
- MongoDB: Install MongoDB (if you want to use a local database.)
- Clone this repository:
git clone https://github.com/your-username/your-project.git
- Install dependencies
pnpm install
- Copy the example environment file and configure the variables as needed.
cp .env.example .env
- Run the application in development mode:
pnpm run dev
- Open your browser and navigate to
http://localhost:3000
to use the URL shortening interface.
pnpm run dev
: Start the application in development mode.pnpm run build
: Compile the application for production.pnpm run start
: Start the compiled application.pnpm run lint
: Run the linter to ensure code quality.pnpm run test:unit
: Run unit tests.pnpm run test:integration
: Run integration tests.
Contributions are welcome! If you find bugs or have suggestions, please open an issue or submit a pull request.
This project is under the ISC License. See the LICENSE file for more details.
For any questions or comments, you can reach me at lucasvillanueva.dev@gmail.com
Enjoy shortening your URLs!