Releases: hanchiang/url-shortener-backend
Build and push image locally until github ci supports arm64
Build and push image locally until github ci supports arm64
What's Changed
- Build and push image locally, until github ci supports arm64.... by @hanchiang in #28
Full Changelog: 1.3.0...1.4.0
Build docker file for linux arm64
Build docker file for linux arm64
What's Changed
- Build docker file for linux arm64 by @hanchiang in #27
Full Changelog: 1.2.0...1.3.0
Delete old packages
Delete old packages
Full Changelog: 1.1.0...1.2.0
Cache docker image in github workflow
Features
- Cache docker image in github workflow
- Allow github workflow to be triggered manually
Others
- Remove ttl when setting string in redis
- Add github action status, upgrade joi to 17.6.0
Full Changelog: 1.0.0...1.1.0
Store URL shorten and redirect events
Add event manager, event handler and event emitter to handle URL shorten and redirect events.
Add model for url_redirect_stats and url_shorten_stats table. Use uuid as id
What's Changed
- Create url_shorten_stats table. Rename short_url to hash to make things clearer by @hanchiang in #24
- Feature/url redirect event by @hanchiang in #25
Full Changelog: 0.15.0...1.0.0
Run db migrations when app starst
Run migrations when app starts
Rename column id to short_url in url table.
Add migration file to create ate url_redirect_stats table.
Rename BASE_DOMAIN to URL_REDIRECT_DOMAIN
What's Changed
- Rename BASE_DOMAIN to URL_REDIRECT_DOMAIN by @hanchiang in #22
- Run migrations when app starts by @hanchiang in #23
Full Changelog: 0.14.0...0.15.0
Do not create short URL if it exist in db
Do not create short URL if it exist in db.
Use constructor parameter injection for url shortener service
What's Changed
- Get original url from database and do not create new short URL if it exist by @hanchiang in #21
Full Changelog: 0.13.0...0.14.0
Sanitise inputs against XSS
- Sanitise inputs against xss for redirect URL and shorten URL API.
- Log errors
- Remove volumes in main docker compose
What's Changed
- Use SSH host name instead of host ip for deployment by @hanchiang in #18
- Sanitise inputs against XSS by @hanchiang in #20
Full Changelog: 0.12.0...0.13.0
Add health check endpoint for postgres, redis
Add health check endpoint for postgres, redis
What's Changed
- Continuous delivery by @hanchiang in #16
- Add cors logic for deployment and localhost by @hanchiang in #17
- Add health check endpoint by @hanchiang in #19
Full Changelog: 0.11.0...0.12.0
Add logging in app, CI enhancements & fixes
Features
- Add logging in application
- Add prettier ignore
- Use a separate docker volume for postgres and redis in dev and test
- Use base image for test image
- Create a build image from dev image, which is used to create the release image
Fixes
- Do not run nyc in test due to mkdir permission error
What's Changed
- Cache docker layer by @hanchiang in #12
- Revert "Cache docker layer" by @hanchiang in #13
- Feature/ci enhancement by @hanchiang in #15
Full Changelog: 0.10.0...0.11.0