Skip to content

Laylo309/hello-rails-react

Repository files navigation

Microverse

Hello Rails React

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 the react-rails gem. 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.

Getting Started

To run the project locally, copy up and running follow these simple example steps :

  • First of all make sure you have both Ruby & Rails installed in your machine (else You can install Rails just with this simple command gem install rails)
  • clone the project with the following command line :
$ git clone git@github.com:Laylo309/hello-rails-react.git
  • Then go to the right folder
$ cd hello-rails-react
$ bundle

and run to install npm package

$ npm install

make sure the database is up and running.

$ rails db:create

When you will add migration file then, you can add command like

$ rails db:migrate

When you will add seeds file then, you can add command like

$ rails db:seed

Built With

  • Ruby on Rails
  • PostgreSQL
  • React

Author

👤 Laylo Khodjaeva

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Inspiration 💘
  • Microverse program ⚡
  • My standup team 😍
  • My family's support 🙌

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published