{"id":15597246,"url":"https://github.com/onjoseph/hello-rails-react","last_synced_at":"2026-04-10T15:03:44.383Z","repository":{"id":168575151,"uuid":"644311618","full_name":"ONJoseph/hello-rails-react","owner":"ONJoseph","description":"This repository contains a sample project that demonstrates how to connect a Ruby on Rails back-end with a React front-end. The goal of this exercise is to apply previous knowledge of using gems with Rails to connect the back-end with the front-end, while also introducing new techniques for handling JavaScript assets in a Rails application.","archived":false,"fork":false,"pushed_at":"2023-05-24T13:59:11.000Z","size":179,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-01-28T14:52:28.498Z","etag":null,"topics":["css","html","jsx","postgresql","rails","react","reactjs","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/ONJoseph.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-23T09:00:27.000Z","updated_at":"2023-05-24T15:33:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"5eed9678-577f-464e-879e-5f8f296590c6","html_url":"https://github.com/ONJoseph/hello-rails-react","commit_stats":null,"previous_names":["onjoseph/hello-rails-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ONJoseph%2Fhello-rails-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ONJoseph%2Fhello-rails-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ONJoseph%2Fhello-rails-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ONJoseph%2Fhello-rails-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ONJoseph","download_url":"https://codeload.github.com/ONJoseph/hello-rails-react/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245072266,"owners_count":20556353,"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":["css","html","jsx","postgresql","rails","react","reactjs","ruby"],"created_at":"2024-10-03T01:21:02.639Z","updated_at":"2025-12-30T20:38:50.682Z","avatar_url":"https://github.com/ONJoseph.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./hello.png\" alt=\"logo\" width=\"256\"  height=\"auto\" /\u003e\n  \u003cbr/\u003e\n\n  \u003ch3\u003e\u003cb\u003eHello World Rails React\u003c/b\u003e\u003c/h3\u003e\n\n\u003c/div\u003e\n\n\u003c!-- TABLE OF CONTENTS --\u003e\n\n# 📗 Table of Contents\n\n- [📖 About the Project](#about-project)\n  - [🛠 Built With](#built-with)\n    - [Tech Stack](#tech-stack)\n    - [Key Features](#key-features)\n- [🚀 Live Demo \u0026 Project Presentation](#live-demo)\n- [💻 Getting Started](#getting-started)\n  - [Setup](#setup)\n  - [Prerequisites](#prerequisites)\n  - [Usage](#usage)\n- [👥 Authors](#authors)\n- [🔭 Future Features](#future-features)\n- [🤝 Contributing](#contributing)\n- [⭐️ Show your support](#support)\n- [🙏 Acknowledgements](#acknowledgements)\n- [📝 License](#license)\n\n# 📖 Hello Rails React App \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\nThis repository contains a sample project that demonstrates how to connect a Ruby on Rails back-end with a React front-end. The goal of this exercise is to apply previous knowledge of using gems with Rails to connect the back-end with the front-end, while also introducing new techniques for handling JavaScript assets in a Rails application.\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\nThis project was implemented using:\n\n\u003cdetails\u003e\n  \u003csummary\u003eClient\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://reactjs.org/\"\u003eReact.js\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eServer\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://rubyonrails.org/\"\u003eRuby on Rails\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDatabase\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.postgresql.org/\"\u003ePostgreSQL\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- **Display a random greeting generated through an api call to rails database, front-end using react**\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\nTo get a local copy up and running, follow these steps:\n\n### Prerequisites\n\nIn order to run this project you need to have installed:\n\n- [ ] You’ll need to have Ruby and Rails on your machine.\n\nOptionally, in order to modify this project you should to have installed:\n\n- [ ] Git.\n\n- [ ] Code editor like: [Visual Studio code](https://code.visualstudio.com/), or others...\n\n### Setup\n\nTo clone this repository to your desired folder:\n\n- You can download the **Zip** file from the GitHub repository, or clone the repository with:\n\n```console\ngit clone https://github.com/ONJoseph/hello-rails-react.git\n```\n\n- Access the cloned directory with:\n\n```console\ncd hello-rails-react\n```\n\n- Open it with your favorite code editor or with the live server\n\n### Usage\n\nIt is required that you setup your database to run this project, check the config/database.yml and make sure that the username and password match you postgresql setup, then run:\n\n```console\nyarn\n```\n\n```console\nrails db:create\n```\n\n```console\nrails db:migrate\n```\n\nTo run the front-end, execute the following commands in the project directory:\n\n```console\nyarn build --watch\n```\n\nTo run the project, execute the following command in the project directory:\n\n```console\nrails server\n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Joseph Ogbole**\n\n- GitHub: [@ONJoseph](https://github.com/ONJoseph)\n- Twitter: [@ONJoseph1](https://twitter.com/ONJoseph1)\n- LinkedIn: [LinkedIn](https://www.linkedin.com/in/o-n-joseph-ba8425147/)\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\nWe will implement this on the future:\n\n- [ ] **Improve the user interface**\n- [ ] **Add other features**\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/ONJoseph/hello-rails-react/issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nGive a ⭐️ if you like this project!\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\n- [Microverse](https://www.microverse.org/) for the motivation.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./LICENSE) licensed.\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonjoseph%2Fhello-rails-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonjoseph%2Fhello-rails-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonjoseph%2Fhello-rails-react/lists"}