https://github.com/simongideon/hello-rails-back-end
https://github.com/simongideon/hello-rails-back-end
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/simongideon/hello-rails-back-end
- Owner: SimonGideon
- License: mit
- Created: 2023-06-08T09:24:09.000Z (about 3 years ago)
- Default Branch: dev
- Last Pushed: 2023-06-09T17:05:46.000Z (about 3 years ago)
- Last Synced: 2025-02-07T20:49:23.514Z (over 1 year ago)
- Language: Ruby
- Size: 5.29 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Hello world backend
# 📗 Table of Contents
- [Table of Contents](#-table-of-contents)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Usage](#usage)
- [👥 Authors ](#-authors-)
- [🔭 Future Features ](#-future-features-)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)
This is a simple repo to test the connection between React and Rails, using Redux store to show some quotes. This is the rails backend.
Client
Bundle
Server
Database
- Fetch comment from database
- Display random comment
### Front end URL
[Frontend Link](https://github.com/SimonGideon/hello-react-front-end/tree/greetings)
To get a local copy up and running, follow these steps.
### Prerequisites
In order to run this project you need:
- Ruby
- Ruby terminal
- Github account.
- Code editor (Visual Studio Code, Atom, etc.)
### Setup
Clone this repository to your desired folder:
cd my-folder
git clone https://github.com/SimonGideon/hello-rails-back-end
Clone the front-end repo
git clone https://github.com/SimonGideon/hello-rails-back-end
### Usage
To run the project, execute the following commands in your Ruby terminal:
`bundle install` to install all gems used.
`rails db:create` to create the database.
`rails db:migrate` to run the database migrations you created.
`rails s` to run the dev server.
If you want to use the front-end repo, clone it: https://github.com/SimonGideon/hello-react-front-end and run `npm install` and `npm start`.
👤 **Simon Gideon**
- GitHub: [@SimonGideon](https://github.com/SimonGideon)
- Twitter: [@Simo_Giddy](https://twitter.com/Simo_Giddy)
- LinkedIn: [mnayi-gideon](https://linkedin.com/in/mnayi-gideon)
- Add comment button
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](../../issues/).
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Microverse
This project is [MIT](./LICENSE) licensed.