Containerized full-stack URL Shortener application built using web technologies.
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
1: Install and run MongoDB on your local machine (Instructions: Windows | Mac | Linux).
2: Run development:
$ yarn bootstrap && yarn start
Client:
https://[your-server-url or localhost:3000]
Server:
https://[your-server-url or localhost]:8000