Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wahaj-ali/hello-rails-back-end
https://github.com/wahaj-ali/hello-rails-back-end
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/wahaj-ali/hello-rails-back-end
- Owner: Wahaj-Ali
- License: mit
- Created: 2023-05-03T12:22:00.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-03T18:28:49.000Z (over 1 year ago)
- Last Synced: 2024-10-23T13:38:16.288Z (28 days ago)
- Language: Ruby
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hello-rails-back-end
# 📗 Table of Contents
- [📗 Table of Contents](#-table-of-contents)
- [hello-rails-back-end](#hello-rails-back-end)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [Front-end App Link ](#front-end-app-link-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Install](#install)
- [Run](#run)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)**hello-rails-back-end** is the backend part of the hello-rails-react project. It generates a random greeting message as an API in JSON format. Using the data from this API, I can show it on my front-end App made using React.
Server
- Generates random greetings message.
## Front-end App Link
Get [Front-end app](https://github.com/Wahaj-Ali/hello-react-front-end)
## 💻 Getting Started
### Prerequisites
* Make sure you have Ruby installed in your system. You can install it [here](https://www.ruby-lang.org/en/documentation/installation/)
* Get started with [Ruby on Rails](https://guides.rubyonrails.org/getting_started.html).
* Make sure you have [PostgreSQL](https://www.postgresql.org/) installed and running.
### Setup
* Clone this repository by running `git clone https://github.com/Wahaj-Ali/hello-rails-back-end.git` in your command line.
* Navigate to the repository by running `cd hello-rails-back-end`.
### Install
* Run `bundle install` to install all the gems.
### Run
* Change/include `host, username, password` according to your database server.
* Run `rails db:create` and `rails db:migrate`
* Run `rails db:seed` to enter some data into database.
* Run `rails s` to start the server.
* In your browser, go to `http://localhost:3000`.
👤 **Wahaj Ali**
- GitHub: [@Wahaj-Ali](https://github.com/Wahaj-Ali)
- LinkedIn: [@wahaj-ali96](https://www.linkedin.com/in/wahaj-ali96/)
- [ ] **Better user interface**
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/Wahaj-Ali/hello-rails-back-end/issues)
Give a ⭐️ if you like this project!
- I would like to thank all code reviewers and coding partners for making this project better.
This project is [MIT](./LICENSE) licensed.