Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/od-c0d3r/hello-rails-backend
Project with a React front-end and Rails back-end and connect them to display a random message.
https://github.com/od-c0d3r/hello-rails-backend
api backend rails ruby
Last synced: 25 days ago
JSON representation
Project with a React front-end and Rails back-end and connect them to display a random message.
- Host: GitHub
- URL: https://github.com/od-c0d3r/hello-rails-backend
- Owner: od-c0d3r
- Created: 2022-03-09T05:57:44.000Z (almost 3 years ago)
- Default Branch: develop
- Last Pushed: 2022-03-22T12:24:27.000Z (almost 3 years ago)
- Last Synced: 2024-10-21T19:03:58.661Z (2 months ago)
- Topics: api, backend, rails, ruby
- Language: Ruby
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![](https://img.shields.io/badge/Microverse-blueviolet)
> React Front-end Application : [hello-react-front-end](https://github.com/od-c0d3r/hello-react-front-end/tree/frontend) and its [Pull Request](https://github.com/od-c0d3r/hello-react-front-end/pull/1)
# Hello Rails Back-end
> Project with a React front-end and Rails back-end and connect them to display a random message.
## Built With
- Rails 7 ~ _Ruby Web development framework_
## Getting Started
To get a local copy up and running follow these simple example steps
- From your terminal enter in sequence
- `git clone [email protected]:od-c0d3r/hello-rails-backend.git`
- `code hello-rails-backend`### Available Scripts
In the project directory, run in order:
- #### `rails db:create`
- Creates the project database.
- #### `rails db:migrate`
- Creates the tables in the database.
- #### `rails db:seed`
- Populate the tables with default records.
- #### `rails server`
- Runs the app in the development mode.\
Open `http://localhost:PORT` to view it in your browser.### Usages
- End-point `/api/greeting`
- Method `GET`
- Return random message from Stored messages in server database## Coders
👤 **Omar Rashad**
- GitHub: [@od-c0d3r](https://github.com/githubhandle)
- LinkedIn: [@omarrashad](https://linkedin.com/in/omarrashad)## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
## Show your support
Give a ⭐️ if you like this project!
## License
This project is [MIT](./MIT.md) licensed.