https://github.com/praisespjmt/hello-rails-backend
A demo app that set up as an API endpoint for a React app to manage server-side of application running on both Ruby-on-Rails and React. The app display a ramdom message from the server using React component.
https://github.com/praisespjmt/hello-rails-backend
ruby-on-rails
Last synced: 2 months ago
JSON representation
A demo app that set up as an API endpoint for a React app to manage server-side of application running on both Ruby-on-Rails and React. The app display a ramdom message from the server using React component.
- Host: GitHub
- URL: https://github.com/praisespjmt/hello-rails-backend
- Owner: PraisesPJMT
- License: mit
- Created: 2023-01-11T06:49:11.000Z (over 3 years ago)
- Default Branch: development
- Last Pushed: 2023-01-11T11:52:01.000Z (over 3 years ago)
- Last Synced: 2025-03-29T12:14:54.868Z (over 1 year ago)
- Topics: ruby-on-rails
- Language: Ruby
- Homepage:
- Size: 5.97 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
- [📗 Table of Contents](#table-of-contents)
- [📖 Hello Rails Backend](#about-project)
- [🛠 Built With ](#built-with)
- [Tech Stack ](#tech-stack)
- [Key Features ](#key-features)
- [💻 Getting Started ](#getting-started)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Usage](#usage)
- [👥 Authors ](#authors)
- [🔭 Future Features](#future-features)
- [🤝 Contributing ](#contributing)
- [⭐️ Show your support ](#️show-your-support)
- [🙏 Acknowledgements](#acknowledgements)
- [📝 License ](#license)
> `Hello Rails Backend` is a demo app that set up as an API endpoint for a `React`
> app to manage server-side of application running on both `Ruby-on-Rails` and `React`.
> The app display a ramdom message from the server using `React` component
- `Hello React Frontend` PR Link: [Frontend App PR](https://github.com/PraisesPJMT/Hello-React-Frontend/pull/3)
- `Hello React Frontend` APP Link: [Frontend App Link](https://github.com/PraisesPJMT/Hello-React-Frontend)
> Here are the tech stacks applied in this project.
Language
Framework
Database
Linters
Markup Languages
Test Library
> The following a key features of the app
- **Created `messages` table with five(5) greeting messages**
- **Created API endpoints for getting random messages**
### Prerequisites
> The following applications are required to be installed for the project to run!
- Install Ruby on your computer (machine)
- Install a modern browser e.g [Google Chrome](https://www.google.com/chrome/), [Edge](https://www.microsoft.com/en-us/edge?r=1), [Firefox](https://www.mozilla.org/en-US/exp/firefox/new/) etc.
- Install [Node.js](https://nodejs.org/en/download/) LTS version
- Install [Git](https://git-scm.com/downloads)
### Setup
Clone this repository to your desired folder:
```sh
git clone git@github.com:PraisesPJMT/React-on-Rails.git
cd React-on-Rails
```
### Install
Install this project with:
```sh
gem install bundler
bundle install
```
### Usage
To run the project, execute the following command:
```sh
rails db:prepare
rails db:seed
rails server
```
- After running `rails server`, use the app on [http://localhost:3000/](http://localhost:3000/) in the browser!
- For more information please visit [Ruby-on-Rails](https://rubyonrails.org/).
👤 **Praises Tula**
[](https://github.com/Paul-js-hub)
[](https://www.linkedin.com/in/praises-tula/)
[](https://twitter.com/PraisesPJMT/)
[](mailto:praisesmusa@gmail.com)
[](https://angel.co/u/praises-tula/)
> The following are features to be expected in the future
- [ ] **More API endpoints**
- [ ] **API request authentication**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
Give a ⭐️ if you like this project!
> - Original UI design by [Gregorire Vella](https://www.behance.net/gregoirevella) on [Behance](https://www.behance.net/gallery/19759151/Snapscan-iOs-design-and-branding?tracking_source=).
> - Tip hart to you for checking this project out
This project is [MIT](./LICENSE) licensed.