Skip to content

soroushchehresa/url-shortener

Repository files navigation


URL Shortener

Containerized full-stack URL Shortener application built using web technologies.


Demo

https://s.soroush.se


Technologies


Production

1: Add your server URL in packages/client/.env file:

NEXT_PUBLIC_SERVER_BASE_URL=[your-server-url]

2: Add your server URL to MongoDB URI in packages/server/.env file:

MONGODB_URL=mongodb://[your-server-url]:27017/url-shortener

3: Run deployment:

$ docker-compose build && docker-compose up

Development

1: Install and run MongoDB on your local machine (Instructions: Windows | Mac | Linux).

2: Run development:

$ yarn bootstrap && yarn start

App URL

Client:

https://[your-server-url or localhost:3000]

Server:

https://[your-server-url or localhost]:8000