{"id":21036504,"url":"https://github.com/moemoe89/simple-api-rails","last_synced_at":"2026-04-06T21:30:59.257Z","repository":{"id":40158261,"uuid":"254155424","full_name":"moemoe89/simple-api-rails","owner":"moemoe89","description":"🔺 This repo for practicing Simple API using Ruby (Rails Framework), PostgreSQL, Docker","archived":false,"fork":false,"pushed_at":"2023-03-08T23:55:36.000Z","size":59,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-02T02:24:20.632Z","etag":null,"topics":["docker","postgresql","rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moemoe89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-08T17:26:21.000Z","updated_at":"2022-02-27T07:04:18.000Z","dependencies_parsed_at":"2023-02-11T15:15:30.920Z","dependency_job_id":null,"html_url":"https://github.com/moemoe89/simple-api-rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moemoe89/simple-api-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fsimple-api-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fsimple-api-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fsimple-api-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fsimple-api-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moemoe89","download_url":"https://codeload.github.com/moemoe89/simple-api-rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fsimple-api-rails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31491094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"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":["docker","postgresql","rails","ruby"],"created_at":"2024-11-19T13:20:25.782Z","updated_at":"2026-04-06T21:30:59.068Z","avatar_url":"https://github.com/moemoe89.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-api-rails #\nSimple API Rails using Ruby as Programming Language (Rails Framework), PostgreSQL as Database\n\n### Requirements\nSimple API is currently extended with the following requirements. Instructions on how to use them in your own application are linked below.\n\n| Requirement | Version    |\n| ----------- | ---------- |\n| Ruby        | \u003e= 2.7.1   |\n| Rails       | \u003e= 6.0.2.2 |\n| PosgtreSQL  | \u003e= 12.0    |\n\n### Setup\n* Setup Ruby \u003chttps://www.ruby-lang.org/en/\u003e\n* Setup Rails \u003chttps://rubyonrails.org/\u003e\n* Setup PostgreSQL \u003chttps://www.postgresql.org/\u003e\n\n### Installation\nMake sure you the requirements above already install on your system. Or you could easily run with Docker to make your environment clean.\n\nClone the project to your directory and install the dependencies.\n```sh\n$ git clone git@github.com:moemoe89/simple-api-rails.git\n$ cd simple-api-rails\n$ bundle install\n```\n\nSetup your environments.\n```sh\n$ cp .env.example .env\n```\nChange your PostgreSQL credentials depends on your PostgreSQL installed config.\n```sh\nDB_HOST=127.0.0.1\nDB_PORT=5432\nDB_DATABASE=simple_api\nDB_USERNAME=postgres\nDB_PASSWORD=postgres\n\nSECRET_KEY_BASE=xxxxx\n```\n\n### Migrate\nSetup your migration following by this command.\n```sh\n$ rails db:migrate\n```\n\n### Seed\nSeed your data following by this command.\n```sh\n$ rails db:seed\n```\n\n### Run Application\nFor run application:\n```sh\n$ rails s\n```\n\nVerify the apllication by navigating to your server address in your preferred browser.\n\n```sh\n127.0.0.1:3000\n```\n\n### Docker\nSimple API is very easy to install and deploy in a Docker container. Simply use the docker-compose build to build the image.\n\n```sh\n$ docker-compose build\n```\nOnce done, run the Docker image by using docker-compose up command.\n\n```sh\n$ docker-compose up -d\n```\n\nSetup the DB migration by using docker-compose exec command.\n```sh\n$ docker-compose exec app rails db:migrate\n```\n\nSetup the DB seed by using docker-compose exec command.\n```sh\n$ docker-compose exec app rails db:seed\n```\n\nVerify the application by navigating to your server address in your preferred browser.\n\n```sh\n127.0.0.1:3000\n```\n\nStop application could be done with docker-compose stop command.\n```sh\n$ docker-compose stop\n```\n\nLicense\n----\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoemoe89%2Fsimple-api-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoemoe89%2Fsimple-api-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoemoe89%2Fsimple-api-rails/lists"}