{"id":16071546,"url":"https://github.com/fmanimashaun/hello-rails-react","last_synced_at":"2025-07-10T00:02:33.438Z","repository":{"id":219071647,"uuid":"748124079","full_name":"fmanimashaun/hello-rails-react","owner":"fmanimashaun","description":"This is a simple Rails and React application that displays a random greeting message.","archived":false,"fork":false,"pushed_at":"2024-01-26T14:06:08.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-04-05T10:15:33.253Z","etag":null,"topics":["full-stack-web-development","rails-api","reactjs","webpack5"],"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/fmanimashaun.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":"2024-01-25T10:23:23.000Z","updated_at":"2024-01-25T10:34:19.000Z","dependencies_parsed_at":"2024-10-09T07:51:25.460Z","dependency_job_id":null,"html_url":"https://github.com/fmanimashaun/hello-rails-react","commit_stats":null,"previous_names":["fmanimashaun/hello-rails-react"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fmanimashaun/hello-rails-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmanimashaun%2Fhello-rails-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmanimashaun%2Fhello-rails-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmanimashaun%2Fhello-rails-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmanimashaun%2Fhello-rails-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fmanimashaun","download_url":"https://codeload.github.com/fmanimashaun/hello-rails-react/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fmanimashaun%2Fhello-rails-react/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505734,"owners_count":23618962,"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":["full-stack-web-development","rails-api","reactjs","webpack5"],"created_at":"2024-10-09T07:41:09.206Z","updated_at":"2025-07-10T00:02:33.267Z","avatar_url":"https://github.com/fmanimashaun.png","language":"Ruby","readme":"# Hello Rails React\n\n\u003ca name=\"readme-top\"\u003e\u003c/a\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- [💻 Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Setup](#setup)\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\u003c!-- PROJECT DESCRIPTION --\u003e\n\n## 📖 Hello Rails React \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\n\nThis is a simple Rails and React application that displays a random greeting message using redux-toolkit and react-router.\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n\u003cdetails\u003e \u003csummary\u003eProgramming Language\u003c/summary\u003e \u003cul\u003e \u003cli\u003eRuby 3.2.2\u003c/li\u003e \u003cli\u003eJavaScript\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003eWeb Application Framework\u003c/summary\u003e \u003cul\u003e \u003cli\u003eRails 7.1.3\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003eDatabase\u003c/summary\u003e \u003cul\u003e \u003cli\u003ePostgreSQL (pg gem)\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003eWeb Server\u003c/summary\u003e \u003cul\u003e \u003cli\u003ePuma\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003eJavaScript Modules\u003c/summary\u003e \u003cul\u003e \u003cli\u003eWebpack (jsbundling-rails gem, webpack and webpack-cli in package.json)\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003eUI Library\u003c/summary\u003e \u003cul\u003e \u003cli\u003eReact (react and react-dom in package.json)\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003eHotwire\u003c/summary\u003e \u003cul\u003e \u003cli\u003eTurbo (turbo-rails gem, @hotwired/turbo-rails in package.json)\u003c/li\u003e \u003cli\u003eStimulus (@hotwired/stimulus in package.json)\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003eAPIs\u003c/summary\u003e \u003cul\u003e \u003cli\u003eJbuilder\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003ePerformance Optimization\u003c/summary\u003e \u003cul\u003e \u003cli\u003eBootsnap\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003eTesting\u003c/summary\u003e \u003cul\u003e \u003cli\u003eDebug\u003c/li\u003e \u003cli\u003eCapybara\u003c/li\u003e \u003cli\u003eSelenium Webdriver\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003cdetails\u003e \u003csummary\u003eDevelopment Tools\u003c/summary\u003e \u003cul\u003e \u003cli\u003eWeb Console (web-console gem)\u003c/li\u003e \u003cli\u003eBabel (@babel/core, @babel/preset-env, @babel/preset-react, babel-loader in package.json)\u003c/li\u003e \u003c/ul\u003e \u003c/details\u003e\n\n\u003c!-- Features --\u003e\n\n### Key Feature \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- [x] **Random Greeting:** Displays a random greeting message from a selection of 5 different greetings stored in the database.\n- [x] **React Components:** Uses React to create dynamic UI components.\n- [x] **API Endpoint:** Includes an API endpoint that selects a random greeting from the database.\n- [x] **Redux Store:** A store, an action, and a reducer are created that connect to the API endpoint to get the random greeting.\n \n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\n\u003c!-- Getting Started --\u003e\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\nTo get started with the project, follow the steps below.\n\n### Prerequisites\n\nTo run this project, ensure you have the following installed:\n\n- [Git](https://git-scm.com/)\n- [Ruby](https://www.ruby-lang.org/en/)\n- [rails](https://rubyonrails.org/)\n- A code editor (e.g., [VsCode](https://code.visualstudio.com/))\n\n### Setup\n\nClone the repository to your local machine:\n\n```bash\ngit clone https://github.com/fmanimashaun/hello-rails-react.git\n\ncd hello-rails-react\n\nbundle install\n\nyarn install\n```\n\n## Database Setup\n\nThis application uses PostgreSQL as the database. Here are the steps to set it up:\n\n1. Ensure PostgreSQL is installed on your machine and running.\n\n2. Update the config/database.yml file with your PostgreSQL username and password in the default section.\n\n3. Create the database:\n\n```bash\nrails db:create\n```\n\n4. Run migrations to set up the database schema:\n\n```bash\nrails db:migrate\n```\n\n5. Load sample data into database:\n\n```bash\nrails db:seed\n```\n\n### Usage\n\nTo run the program, you can use a Ruby interpreter. For example, to interact with the code, use the following:\n\n1. Start the server\n\n```bash\nbin/dev\n```\n\n2. Access the Blog app in your web browser at `http://localhost:3000`.\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- AUTHORS --\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Fisayo Michael Animashaun**\n\n- GitHub: [@fmanimashaun](https://github.com/fmanimashaun)\n- Twitter: [@fmanimashaun](https://twitter.com/fmanimashaun)\n- LinkedIn: [Fisayo Michael Animashaun ](https://linkedin.com/in/fmanimashaun)\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- FUTURE FEATURES --\u003e\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n- Add more functionality...\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- Contributing --\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.\n\n[Issue Page](https://github.com/fmanimashaun/myblog/issues)\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- Show your support --\u003e\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nIf you like this project leave a start for it.\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- ACKNOWLEDGEMENTS --\u003e\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\n- I'd like to thank Microverse for helping us in the journey to become a Fullstack developer.\n\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#readme-top\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n\n\u003c!-- LICENSE --\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\"\u003e👆\u003c/a\u003e\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmanimashaun%2Fhello-rails-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffmanimashaun%2Fhello-rails-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffmanimashaun%2Fhello-rails-react/lists"}