A url shortener service created using nodejs with express and mongodb as backend.
- Git
- Nodejs
- Npm
- Docker
- MongoDB
- Clone the Repo
$ git clone https://github.com/prthm786/url-shortnener.git
- Run docker compose
$ docker compose up -d
- Clone the Repo
$ git clone https://github.com/prthm786/url-shortnener.git
- Edit .env file Change the port in BASE_URL
BASE_URL=http://localhost:3000
Comment out MONGO_URI and add this line
MONGO_URI=mongodb://localhost:27017
- Create a docker container with mongodb image (Optional) MongoDB can be used without docker on local machine
$ docker run --name mongodb-container -p 27017:27017 -d mongo
- Run these commands
$ cd Server
$ npm install
$ npm start
- Javascript, HTML and CSS
- Nodejs
- Expressjs
- MongoDB
- Docker and Docker Compose