- 📖 About the Project
- 💻 Getting Started
- 👥 Authors
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- ❓ FAQ
- 📝 License
- Integrate React with Rails.
- Understand the pros and cons of different approaches of connecting Ruby on Rails back-end with React front-end.
- Programming Language: Ruby
- Framework: Ruby on Rails
- Linter: Rubocop
- Code Editor: VS Code
- React Framework: React
- Webpack: Webpack
- Redux: Redux
To get a local copy up, follow these simple steps.
- A web browser like Google Chrome.
- A code editor like Visual Studio Code with Git and Ruby.
- git clone https://github.com/ogagaoghene/hello-rails-react
- cd hello-rails-react
- Run
bundle install
to install all the required dependancies. - Run
rails db:create
andrails db:migrate
to create & migrate records to the database. - Run
./bin/dev
to spin up a development server.
If you encounter any errors, run the following commands.
- Run
rails db:migrate:reset
to drop, create and migrate a new database. Alternatively, run the following commands: - rails db:drop or rails db:drop:all in extreme cases of duplicate values
- rails db:create
- rails db:migrate
- Run
rubocop && rubocop -A
to check for and fix code errors.
To run the project, execute the following command:
- Run
./bin/dev
to spin up a development server.
To run tests, run the following command:
- rspec ./spec/#{filename}_spec.rb
You can deploy this project using: Heroku or RENDER
Mention all of the collaborators of this project.
👤 Author1
- GitHub: @ogagaoghene
- Twitter: @esi-ogaga
- LinkedIn: ogagaoghene-esi
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Write a message to encourage readers to support your project
If you like this project...
Give credit to everyone who inspired your codebase.
I would like to thank...
Add at least 2 questions new developers would ask when they decide to use your project.
-
[What is the best operating system for developing serious rails applications]
- [Unix based environment is the natural environment for developing serious rails applications]
-
[I understand that RVM is the best tool for managing dependencies needed in ROR applications]
- [It is recommended because it allows for flexibility in managing dependencies]
This project is MIT licensed.
Copyright (c) 2022 Esi Ogagaoghene
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.