This is a sample application that explores implementation of url shortening similar to bit.ly.
- Docker
- Java 17
- Angular 15
- Postgres
docker-compose up
Application can be accessed via http://localhost:10000/
# environment variables required to connect to database
DB_HOST=localhost
DB_PORT=5432
DB_NAME=url-shortener
DB_USERNAME=postgres
DB_PASSWORD=password
At the root of the project run below command.
# starting application
./gradlew clean bootRun
Navigate to the frontend
subfolder.
# install dependency
npm install
#executing application
npm run start
Application can be accessed via http://localhost:4200