{"id":13879651,"url":"https://github.com/kaka-ruto/nipishe","last_synced_at":"2026-04-10T09:04:31.562Z","repository":{"id":40232086,"uuid":"146054410","full_name":"kaka-ruto/nipishe","owner":"kaka-ruto","description":"A Rails + GraphQL starter kit template with authentication, authorization and basic user account management features","archived":false,"fork":false,"pushed_at":"2022-12-14T07:24:15.000Z","size":208,"stargazers_count":9,"open_issues_count":12,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-24T08:32:56.726Z","etag":null,"topics":["action-policy","graphql","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaka-ruto.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":"2018-08-25T01:22:39.000Z","updated_at":"2023-06-03T12:08:22.000Z","dependencies_parsed_at":"2023-01-28T19:00:55.725Z","dependency_job_id":null,"html_url":"https://github.com/kaka-ruto/nipishe","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/kaka-ruto/nipishe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaka-ruto%2Fnipishe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaka-ruto%2Fnipishe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaka-ruto%2Fnipishe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaka-ruto%2Fnipishe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaka-ruto","download_url":"https://codeload.github.com/kaka-ruto/nipishe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaka-ruto%2Fnipishe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31635971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"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":["action-policy","graphql","rails","ruby"],"created_at":"2024-08-06T08:02:27.786Z","updated_at":"2026-04-10T09:04:31.476Z","avatar_url":"https://github.com/kaka-ruto.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# Nipishe\n\nA Rails + GraphQL starter kit template with authentication, authorization and basic user account management features\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n## Prerequisites\n\nWhat things you need to install the software and how to install them; https://gorails.com/setup\nis a good one\n\n```\nRuby -v 2.5.0,\nRails -v 5.2.1\n```\n\n# Installation Instructions\n\nA step by step series of examples that tell you how to get your development environment up and running\n\n## Without Docker / The Normal Rails Way (Preferred for development)\n\nInstall Postgresql\n\n```\nbrew install postgresql\n```\n\nClone the project to your own directory, eg `project_z`\n\n```\ngit clone https://github.com/borenho/nipishe.git project_z\n```\n\nUse `sed` to find and replace all appearances of `Nipishe` to `Project_Z`, for example.\n\nIf you're on `zsh`, the following command will work\n\n```\nsed -i 's/NipisheSchema/ProjectZSchema/g' **/*.rb(D.)\nsed -i 's/Nipishe/ProjectZ/g' **/*.rb(D.)\n```\n\nYou can read more about search and replacing with sed here - https://unix.stackexchange.com/questions/112023/how-can-i-replace-a-string-in-a-files\n\nIf you're using Vim, I found this helpful https://vi.stackexchange.com/questions/2776/vim-search-replace-all-files-in-current-project-folder\n\nPlease crosscheck manually if there are still appearances of Nipishe or NipisheSchem and rename appropriately.\n\nYou'll also find that there are, for example database names, that start with `nipishe_development`. Find and replace those manually too, they are few.\n\nIf you check origins, you'll find that they point to `https://github.com/kaka-ruto/nipishe.git` or `git@github.com:kaka-ruto/nipishe.git`, plase change them to your own with the following\n\n```\ngit remote set-url git@github.com:YOUR-USERNAME/YOUR-REPO.git\n```\n\nConfirm it's been correctly set with `git remote -v`\n\nOpen your `/etc/hosts` file\n\n```\nsudo vim /etc/hosts\n```\n\nMap your machine's Postgres db host `localhost` to docker's db host `postgres`, which we\nhave defined in `docker-compose.yml` and referenced in `config/database.yml`\n\n```\n# /etc/hosts\n127.0.0.1   postgres\n```\n\nChange directory (cd) into `nipishe` and set up your development environment:\n\n```\nbin/setup\n```\n\nStart the Rails server\n\n```\nbin/rails server\n```\n\nOpen the application at http://localhost:3000\n\n## With Docker\nDocker will allow us to containerize our app into a light-weight, stand-alone\nand executable package of a piece of software that includes everything needed to run\nit, be it the OS, libraries, gems and any other dependency.\n\n### Installing Docker\nFor Mac users, download Docker for mac on https://github.com/docker/for-mac\n\nFor Windows users, get docker on https://github.com/docker/for-win\n\nIf you are on Ubuntu, the following steps are recommended:\n\nUpdate your local database of software to get the latest revisions\n\n```\nsudo apt-get update\n```\n\nGet/download Docker\n\n```\nsudo apt install docker.io\n```\n\nStart and automate Docker\n```\nsudo systemctl start docker\n```\n```\nsudo systemctl enable docker\n```\n\n### Installing Docker Compose\n\n```\nbrew install docker-compose\n```\n\n### Provisioning the app\nClone the project:\n\n```\ngit clone https://github.com/borenho/nipishe.git\n```\n\nChange directory (cd) into `nipishe`.\nSet up your docker environment, by building the docker image\n```\ndocker-compose build\n```\n\nSetup the database(create, migrate, seed)\n```\ndocker-compose run runner ./bin/setup\n```\n\nNow run the sweet Rails app\n```\ndocker-compose up rails\n```\n\nOpen the application at http://localhost:3000\n\nTo use the GraphiQL web interface make sure you have a file at `app/assets/config/manifest.js` with the following content:\n\n```\n//= link graphiql/rails/application.css\n//= link graphiql/rails/application.js\n\n```\n\nYou're all set! Now you're ready to code!\n\n# GraphQL\n\nTodo: Show how to run mutations and queries on the API\n\n\n## Tests\n\nRun the tests\n\n```\nbin/rspec\n```\n\n\n# Deployment\n\nTodo: Add notes about how to deploy this on a live system\n\n\n### Built With\n\n* [Ruby on Rails](https://rubyonrails.org/) - The loved web framework\n* [GraphQL](https://graphql.org/) - A query language and runtime for APIs\n\n\n### License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaka-ruto%2Fnipishe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaka-ruto%2Fnipishe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaka-ruto%2Fnipishe/lists"}