/hello-rails-oneapp

Hello Rails Oneapp is a Rails React App that demonstrates the use of the react-rails. This gem allows you to build React components as a part of your Rails JavaScript and serve it in a component, react_component, to be used in a regular ERB file.

Primary LanguageRubyMIT LicenseMIT

Hello Rails Oneapp

📗 Table of Contents

📖 Rails React Onepp

The app features a smooth combination of Rails with React. The project By now you've used many different gems with Rails and this exercise will have you connect previous knowledge with new knowledge as you get a chance to use Webpack with jsbundling-rails gem.

🛠 Built With

Tech Stack

BackEnd
Test
Database

Key Features

  • Random Greetings

(back to top)

💻 Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • Ruby on Rail Knowledge
  • Object Oriented Programming(OOP) Knowledge
  • Vs Code
  • Github / Git Bash
  • install ruby
 sudo apt-get install ruby-full
  • install rails

      gem install rails
    
  • Install gems of rails

      bundle install
      npm install
  • install postgresql

      sudo apt-get install postgresql postgresql-contrib libpq-dev

Setup

Clone this repository to your desired folder:

  git clone https://www.github.com:AbayomiOlaoye/hello-rails-oneapp.git
  cd Hello-Rails-React

Prepare the database:

  • create database
  rails db:create
  rails db:migrate

Usage

To run the project, execute the following command:

  rails server

Run tests

To run tests, run the following command:

  Rspec

(back to top)

👥 Authors

👤 Oluwatoyin Olaoye

(back to top)

🔭 Future Features

  • REST Full API

(back to top)

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

(back to top)

⭐️ Show your support

If you like this project give me a star.

(back to top)

🙏 Acknowledgments

  • I would like to thanks Microverse to guide me to complete this project.

(back to top)

📝 License

This project is MIT licensed.

(back to top)