This is a simple app that fetches random greetings from an integrated rails backend and displays it in the DOM using react.
- Ruby on Rails
- Postgresql
- React/Redux
- Bootstrap
- Node
- React
- Redux
Server
Database
- React front-end
- Redux state management
- Integrated back-end
No live demo yet.
To get a local copy up and running, follow these steps.
- Clone this repository by writing
git clone https://github.com/Aquinasmoriasi/hello-rails-react.git
- Run
bundle install
to install the project's dependencies - Run
npm install
to install the node dependencies - Add your database username and password and write
rails db:create
to create the database - Run
rails db:migrate
to migrate the tables to the created database - Run
rails db:seed
to populate the tables with the - Run
rails server
to open the local host
In order to run this project you need:
- Install PostgreSQL in your machine
- install Ruby and Ruby on rails
- Install your preferred IDE(Visual Studio is highly recommended)
- Then run:
bundle install
npm install
- Clone this repository to your desired folder
- Navigate to the cloned repository and follow the aforementioned steps to get started
Install this project with:
- PostgreSQL
- Ruby
- Ruby on Rails
- Webpack
- React
To run the project, execute the following command:
rails server
To run tests, run the following command:
rspec <relative path to the test file>
- The project has no active deployments yet
👤 Aquinas Moriasi
- GitHub: Aquinas Moriasi
- Twitter: @Aquinas747
- LinkedIn: Aquinas Moriasi
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project support it by adding a star at https://github.com/Aquinasmoriasi/budget-app/stargazers
This project is MIT licensed.