Hello Rails-Reac is the eductional project to connect with Ruby on Rails and React. In this exercise I have connected previous knowledge with new knowledge as I get a chance to use Webpack with jsbundling-rails gem.
- Create an API endpint by rails.
- Use api using webpack.
-
Make sure you have Ruby installed in your system. You can install it here
-
Get started with Ruby on Rails.
-
Make sure you have PostgreSQL installed and running.
-
Clone this repository by running
https://github.com/Wahaj-Ali/hello-rails-react.git
in your command line. -
Navigate to the repository by running
cd hello-rails-react
.
- Run
bundle install
to install all the gems.
- Change/include
host, username, password
according to your database server. - Run
rails db:create
andrails db:migrate
- Run
./bin/dev
to start the server. - In your browser, go to
http://localhost:3000
.
π€ Wahaj Ali
- GitHub: @Wahaj-Ali
- LinkedIn: @wahaj-ali96
- Better user interface
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page
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 licensed.