https://github.com/gthomas08/url-shortener-microservice
freeCodeCamp URL Shortener Microservice
https://github.com/gthomas08/url-shortener-microservice
express freecodecamp javascript mongodb nodejs
Last synced: 5 days ago
JSON representation
freeCodeCamp URL Shortener Microservice
- Host: GitHub
- URL: https://github.com/gthomas08/url-shortener-microservice
- Owner: gthomas08
- Created: 2021-09-08T19:36:04.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-01T14:20:17.000Z (about 2 years ago)
- Last Synced: 2025-03-14T09:21:17.989Z (4 months ago)
- Topics: express, freecodecamp, javascript, mongodb, nodejs
- Language: JavaScript
- Homepage: https://url-shortener-microservice.gthomas10.repl.co
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# URL Shortener Microservice
[](https://repl.it/github/gthomas10/URL-Shortener-Microservice)
## About The Project
This project is part of the FreeCodeCamp Back End Development and APIs curriculum.
You can find more information [here](https://www.freecodecamp.org/learn/back-end-development-and-apis/back-end-development-and-apis-projects/url-shortener-microservice).
### Built With
* [Node.js](https://nodejs.org)
* [Express](https://expressjs.com)
* [MongoDB](https://www.mongodb.com)## Getting Started
### Prerequisites
* [Node.js](https://nodejs.org/)
### Installation
1. Clone the repo
```bash
git clone https://github.com/gthomas08/URL-Shortener-Microservice.git
```
2. Go to project directory
```bash
cd URL-Shortener-Microservice
```
3. Install npm packages
```bash
npm install
```
4. Add the following environment variable to .env file`MONGO_URI`
## Usage
Start the application
```bash
npm start
```Test that the project is running by going to http://localhost:8080.