{"id":31794547,"url":"https://github.com/jollopre/carpanta","last_synced_at":"2026-05-04T00:32:07.683Z","repository":{"id":38292188,"uuid":"235694408","full_name":"jollopre/carpanta","owner":"jollopre","description":"A web application for hairdressers","archived":false,"fork":false,"pushed_at":"2023-03-04T22:25:20.000Z","size":1602,"stargazers_count":1,"open_issues_count":22,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T19:46:33.169Z","etag":null,"topics":["appointments","aws-ecs","aws-fargate","docker","docker-compose","javascript","ruby","sinatra","stimulusjs","vanilla-js","webapp"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jollopre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-23T00:19:04.000Z","updated_at":"2022-02-23T09:12:18.000Z","dependencies_parsed_at":"2023-02-10T18:15:38.077Z","dependency_job_id":null,"html_url":"https://github.com/jollopre/carpanta","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jollopre/carpanta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fcarpanta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fcarpanta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fcarpanta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fcarpanta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jollopre","download_url":"https://codeload.github.com/jollopre/carpanta/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jollopre%2Fcarpanta/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32590182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appointments","aws-ecs","aws-fargate","docker","docker-compose","javascript","ruby","sinatra","stimulusjs","vanilla-js","webapp"],"created_at":"2025-10-10T19:46:23.153Z","updated_at":"2026-05-04T00:32:07.661Z","avatar_url":"https://github.com/jollopre.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Carpanta\r\n\r\n[![Build Status](https://travis-ci.com/jollopre/carpanta.svg?branch=master)](https://travis-ci.com/jollopre/carpanta)\r\n\r\nCarpanta is a web application that simplifies the handling of customers and their appointments in the context of hairdressing. Currently, there is support for:\r\n\r\n  - Creating customers\r\n  - Creating appointments on an specific date/time for a concrete offer\r\n  - Listing customers\r\n  - Displaying customers and their appointments (past, present and future ones).\r\n\r\n### Tech\r\n\r\nCarpanta main stack is Ruby, using [Sinatra](http://sinatrarb.com/) for interacting with consumers through the web. It also has some touches of JavaScript and CSS for improving the user experience.\r\n\r\n### Installation\r\n\r\nCarpanta requires [docker](https://www.docker.com/) and [docker-compose](https://docs.docker.com/compose/) to run.\r\n\r\nInstall the dependencies and start the server.\r\n\r\n```sh\r\n$ cd carpanta\r\n$ make up\r\n```\r\n\r\nFor production environments, please type:\r\n\r\n```sh\r\n$ cd carpanta\r\n$ make start\r\n```\r\n\r\nCarpanta supports three environments for running the server (e.g. development, test and production). The environment variables, injected when the container runs, can be set differently at `infra/[environment].env`.\r\n\r\n### Development\r\n\r\nWant to contribute? Great!\r\n\r\nCarpanta uses Ruby + Sinatra for the back-end development. We encourage TDD heavily, so open a tab using your favourite Terminal and run these commands:\r\n\r\n```sh\r\n$ make shell\r\n$ bundle exec rspec\r\n```\r\n\r\nThe front-end development uses vanilla JavaScript and [Webpack](https://webpack.js.org/) to bundle every asset under `app/assets`. Open a second tab and type the following:\r\n\r\n```sh\r\n$ make shell_assets\r\n$ npm test\r\n```\r\n\r\nPlease, make sure that any change made to this codebase is thoroughly tested using either [RSpec](https://rspec.info/) or [Jest](https://jestjs.io/) for back-end and front-end respectively before submitting any PR.\r\n\r\n### Test\r\n\r\nYou can run the specs for front and back end code in one go by typing:\r\n\r\n```sh\r\n$ make test\r\n```\r\n\r\n### Production\r\n\r\nShould you wish to run carpanta into [AWS Fargate](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html), please type the following:\r\n\r\n```sh\r\n$ make deploy\r\n```\r\n\r\nThe above mentioned command performs 3 actions:\r\n\r\n1. Building the image in production mode\r\n2. Pushing the image into [DockerHub](https://hub.docker.com/)\r\n3. Provisioning the code into [AWS Fargate](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/AWS_Fargate.html) according to the definition found at [production.json](infra/production.json)\r\n\r\nNote, you will need to have an account in [DockerHub](https://hub.docker.com/) in order to push the docker image to any of your repositories. In addition, you will need an AWS user with Programmatic access type. AWS contains a handful set of policies to be attached to your user, for instance [AmazonECS_FullAccess](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_managed_policies.html#AmazonECS_FullAccess) should be sufficient for the deploy task to succeed.\r\n\r\nPlease, make sure to provide valid values for the environment variables from file [deploy.env](infra/deploy.env.example). This file gets created automatically the first time the above mentioned command is called.\r\n\r\n### Todos\r\n\r\n - Introducing code style guide for back end front development\r\n - Including CVE detections in the CI\r\n - Refinements in deploy gem located under infra/deploy\r\n\r\nLicense\r\n----\r\n\r\nMIT\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjollopre%2Fcarpanta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjollopre%2Fcarpanta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjollopre%2Fcarpanta/lists"}