36 Commits

Author SHA1 Message Date
Juan Rodriguez 3fa30b3a32 chore: Update README.md 2024-10-27 13:01:40 +01:00
Juan Rodriguez 80ed6033d1 chore: update README.md 2024-10-27 12:56:06 +01:00
Juan Rodriguez 7cc6c1197f refactor: auto run migrations on startup 2024-07-14 08:46:11 +02:00
Juan Rodriguez 115bbf7366 refactor: reduce docker image size 2024-07-12 23:18:06 +02:00
Juan Rodriguez 36a06ac670 chore: update README v1.1.0 2024-07-12 21:53:32 +02:00
Juan Rodriguez 1f42798d12 chore: update READMe with rest API response examples 2024-07-12 21:44:36 +02:00
Juan Rodriguez 8cbed80fd0 chore: update benchmark script 2024-07-12 20:52:57 +02:00
Juan Rodriguez 8f33375b5f fix: link clicks empty array validation 2024-07-12 19:00:44 +02:00
Juan Rodriguez 3050c2b100 feat: get link by id endpoint 2024-07-12 08:47:08 +02:00
Juan Rodriguez 050fd6f1e3 refactor: rename url-shortener to bit 2024-07-10 22:29:34 +02:00
Juan Rodriguez be10cb1c9a refactor: update benchmark to handle more links concurrently 2024-05-20 18:43:37 +02:00
Juan Rodriguez 7cbd469842 chore: benchmark script 2024-05-20 18:43:18 +02:00
Juan Rodriguez de12095d19 ci: fix generate artifact attestation 2024-05-14 07:03:40 +02:00
Juan Rodriguez a7d52797d9 ci: publish to docker hub workflow 2024-05-14 06:21:55 +02:00
Juan Rodriguez 7f2a27ec79 feat: auth middleware
- CORS headers
- Get all links that belong to user
2024-05-13 22:35:22 +02:00
Juan Rodriguez b20417d579 refactor: error handling return exception message 2024-05-13 09:22:36 +02:00
Juan Rodriguez 9564559610 refactor: rename src folder with app 2024-05-13 08:14:47 +02:00
Juan Rodriguez 9e1fcf2d48 chore: kemal + crystal setup 2024-05-12 15:08:09 +02:00
Juan Rodriguez 720b70c6a0 chore: remove rails app 2024-05-12 15:07:56 +02:00
Juan Rodriguez cebdfb35d7 fix: parsed_url + stripped_url
- store and redirect urls without protocol
- update README
- increment counter with SQL COALESCE
- add linksHelper
- update tests
2023-03-27 09:53:09 +02:00
Juan Rodriguez af9c7b0024 feat: meta tags 2023-03-26 21:50:19 +02:00
Juan Rodriguez 63acab3cf7 Dokku deploy setup (#1)
* fix: remove config.key from Dockerfile

* refactor: remove redis

* chore: update README

* feat: precompile assets on build Dockerfile
2023-03-26 19:00:09 +02:00
Juan Rodriguez 73b674b613 refactor: Username and slug unique indexes, before actions for set link and user
confirm_password_validation around action, unnecessary helpers removed, rubocop-rails suggestions applied

Add username index and unique slug index migrations
2021-06-15 15:24:34 -05:00
Juan Rodriguez 9204abf2e3 refactor: 🔥 Generate slug with attempts
Link short method removed, generate_slug test added, deleted unused files
2021-06-15 12:08:01 -05:00
Juan Rodriguez 391c62e99a ci: 💚 Rubocop step added to main workflow 2021-06-15 10:48:29 -05:00
Juan Rodriguez 33eb56f686 ci: 👷 Github actions setup, heroku deployment
Redis cache store, Production Dockerfile, Github actions workflow
2021-06-14 17:14:48 -05:00
Juan Rodriguez 3feaa5d88f refactor: Modal layout and turbolinks optimization
Reload with turbolinks, error messages, confirm password validation

Login and Signup modals
2021-06-14 15:10:56 -05:00
Juan Rodriguez 9c7146820c feat: Sessions controller
Sessions helper methods, login and signup modals, load partial views with stimulus

Situmuls usersController, Create and Destroy user sessions
2021-06-14 11:46:25 -05:00
Juan Rodriguez f63be42b4c feat: Create users
Users migration, model, controller. user_id to links. signup view
2021-06-14 08:24:34 -05:00
Juan Rodriguez 3e8bdee17a feat: Generate short url view
stimulus links controller, tailwindcss setup, links controller post route, tests updated

Generate short links view
2021-06-14 00:41:53 -05:00
Juan Rodriguez e50da9b3e2 chore: 🔧 docker entrypoint for init db
docker-compose.test removed, create testing and dev databases on init db
2021-06-13 20:36:39 -05:00
Juan Rodriguez 7e81f47473 build: 🔧 Stimulus setup
webpack service added to docker-compose, rails webpacker config, application js and css tags updated

rails webpacker support
2021-06-13 16:28:45 -05:00
Juan Rodriguez 38d0aff7f8 build: 🔧 default url_options host added
simplecov added, docker-compose updated, test_helper updated
2021-06-13 12:27:23 -05:00
Juan Rodriguez 587f9552c8 feat: Link model
create_links and slug index migrations. generate_slug and shorten model methods

- Create links migration - Add slug index migration
2021-06-13 10:55:05 -05:00
Juan Rodriguez 019e2516d7 feat: 🏗️ Rails setup
postgresql database
2021-06-13 09:05:20 -05:00
Juan Rodriguez d02df35d86 feat: 🔧 Initial commit
vscode config and TODO
2021-06-13 08:01:12 -05:00