- π About the Project
- π» Getting Started
- π₯ Authors
- π Future Features
- π€ Contributing
- βοΈ Show your support
- π Acknowledgements
- β FAQ (OPTIONAL)
- π License
Hello React Rails Hello Rails React is a wonderful example of how to combine two powerful frameworks to create a modern web application. With Rails as your backend and React as your frontend, you can enjoy the benefits of both worlds: fast development, easy testing, and rich user interface.
Client
Server
Database
- User can get random greetings!
In order to run this project you need:
- [Ruby (>=3.0)] (https://www.ruby-lang.org/en/)
- [Rails (>=7.0)] (https://rubyonrails.org/)
- [PostgreSQL (>=15.0)] (https://www.postgresql.org/)
To clone this repository to your desired folder:
- You can download the Zip file from the GitHub repository, or clone the repository with:
git clone https://github.com/paulsaenzsucre/hello-rails-react.git
- Access the cloned directory with:
cd hello-rails-react
Install this project with:
bundle install
yarn install
To run the project, execute the following command:
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails start
then go to [http://localhost:300] (http://localhost:300).
To run tests, run the following command:
bundle exec rails db:migrate RAILS_ENV=test
bundle exec rspec
To deploy this project you will need a database service and a web service.
π€ Paul SΓ‘enz Sucre
- GitHub: @paulsaenzsucre
- Twitter: @paulsaenzsucre
- LinkedIn: @paulsaenzsucre
These are the future features of our project:
- User can filter the greetings by some key
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a βοΈ if you like this project!
- Hat tip to anyone whose code was used.
- Thanks for all the curated content that was provided to us.
- Thanks to my learning and coding partners for all their support.
-
What are the system requirements to use your project?
If you are excited about building web applications with Ruby on Rails, you might be wondering what are the system requirements to use a rails app. Well, the good news is that you don't need a lot of fancy hardware or software to get started. All you need is a computer with a modern operating system, such as Windows, Mac OS X, or Linux, and a text editor of your choice. You will also need to install Ruby, which is the programming language that Rails is based on, and Rails itself, which is a framework that provides tools and conventions for web development. You can find detailed instructions on how to install Ruby and Rails on the official website: Ruby on Rails. Once you have Ruby and Rails installed, you are ready to create and run your own rails app!
-
What are the key features of your project and how can I use them?
Hello React Rails is a simple and funny web application that showcase how you cam implement an app using React and Rails. React is a JavaScript library for building user interfaces, and Rails is a Ruby framework for developing web applications. Together, they make a powerful combination that lets you write less code and do more.
This project is MIT licensed.