{"id":21697959,"url":"https://github.com/speratus/gratis-backend","last_synced_at":"2026-05-10T17:04:13.503Z","repository":{"id":39692811,"uuid":"238793692","full_name":"speratus/gratis-backend","owner":"speratus","description":"Gratis is a Short Message Service designed to help people express gratefulness","archived":false,"fork":false,"pushed_at":"2023-01-19T17:12:24.000Z","size":69,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T14:25:54.719Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/speratus.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-02-06T22:00:57.000Z","updated_at":"2020-03-19T19:36:18.000Z","dependencies_parsed_at":"2023-02-11T11:45:56.827Z","dependency_job_id":null,"html_url":"https://github.com/speratus/gratis-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speratus%2Fgratis-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speratus%2Fgratis-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speratus%2Fgratis-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/speratus%2Fgratis-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/speratus","download_url":"https://codeload.github.com/speratus/gratis-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244637102,"owners_count":20485446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-25T19:30:16.674Z","updated_at":"2026-05-10T17:04:13.456Z","avatar_url":"https://github.com/speratus.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\nGratis is a short message service designed to help people express gratitude to their friends and those\nthey follow.\n\nThis is only the backend. It needs to run in tandem with the frontend, [found here](https://github.com/spereatus/gratis-frontend).\n\n## Requirements\nGratis depends on the following libraries:\n\n* Ruby `2.6.1`\n* Ruby on Rails (`6.0.2`)\n* Postgresql\n\nMake sure you have all of them installed before progressing any futher.\n\n## Installation\nOnce you have all the required libraries, navigate to the directory where you would want it to live and clone the repo:\n```\ngit clone https://github.com/speratus/gratis-backend\n```\n\n`cd` into the directory and run\n```\nbundle install\n```\nto download all the dependencies required to run. \n\nOnce ruby has installed all the necessary gems, you can\nset up the database by running the following commands:\n```\n~ rake db:create\n~ rake db:migrate\n```\nThis will setup the database so that the server can run. \n\n### Seed the database (Optional)\nIf you want to have the some data in the database by default, you will need to run an extra command.\nSeeding requires the `Faker` gem, so make sure that you have it installed before continuing.\nOnce Faker is installed, run \n```\nrake db:seed\n```\nThis will generate some starting data to populate the database.\n\n## Running the server\nOnce you are satisfied with your installation, you can start up the server by navigating to the \ndirectory where the repo lives and running\n```\nrails s\n```\n\nYou can now start up the frontend server so that you can login.\n\n## Dependencies\n\n* [Ruby on Rails](https://rubyonrails.org)\n* [JWT](https://github.com/jwt/ruby-jwt)\n* [BCrypt](https://github.com/codahale/bcrypt-ruby)\n* [Rails Action Authorization](https://github.com/speratus/authorizer)\n* [Dotenv-Rails](https://github.com/bkeepers/dotenv)\n* [Rack-Cors](https://github.com/cyu/rack-cors)\n* [Faker](https://github.com/faker-ruby/faker) (For seeding the database).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsperatus%2Fgratis-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsperatus%2Fgratis-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsperatus%2Fgratis-backend/lists"}