Create short url Enter URL in textbox and submit
View All short codes Click URls in navigation menu to view a list of all URLs and their corresponding short URLs
To edit a URL
- Click URls in navigation menu. Then Edit on the row of the url you would like to change.
- When complete press the Save URL button.
Delete a URL od Short URL
- Click URls in navigation menu. Then Delete on the row of the url you would like to delete.
- Install the following software dependencies.
- Node
- Docker
- Docker Compose
- Yarn
-
run
npm run install
. -
Ensure docker is running, Then run
npm run dev
to start the development environment. This may make take few a minute to download the docker containers if it's the first time running. -
To rebuild the development environment run
npm run build:dev
.
- To start in production environment run
npm run start
. - To rebuild the production environment run
npm run build:start
.
-
Development:
npm run install
. Starts application in development environment. -
Production:
npm run start
Starts application in production environment. -
stop:
npm run start
stop environment -
clean:
npm run start
Warning! Removes all docker containers.
Unit tests: npm run client:test
Watch unit tests: npm run client:watch
E2E tests: npm run client:e2e
For E2E application must be running.
Unit tests: npm run api:test
Watch unit tests: npm run api:watch