A minimalist url shortener
Report bug
·
Request feature
This project is a monorepo made with Lerna and, at this moment, is proof of concept, its purpose is testing, while its a quite simple application, a lot of tests is need in order to ensure its quality, also, not testing your software is just unprofessional.
shortme/
└── packages/
├── frontend/
│ ├── file1
│ ├── file2
| └── ...
└── backend/
├── file3
├── file4
└── ...
To initialize service make sure youre at packages/frontend and
yarn
yarn dev
For unit tests:
yarn test
For e2e tests with Cypress: Requires either front and backend up
yarn cypress open
Fist make sure youre at packages/backend, then you can choose if you want to initialize with a container or not.
Normal:
yarn
yarn build
yarn dev
Container:
yarn
docker build -t shortme/backend .
docker-compose up -d
For unit tests:
yarn test