In this project I am trying to learn how to integrate react with rails in one project files
- Ruby
- Ruby on Rails
- Javascript
- React
- VSCode installed
- Rails 7 installed
- Ruby 3 installed
- PostgreSQL installed
1 - On Github, on the main page of the RoR-blog, click the Code button and copy "Clone with HTTPS" by clicking the copy icon. In your terminal, enter a git clone and past the link that you copied from the repository, and press the Enter (e.g. git clone https://github.com/ahmedadel56/hello-rails-react.git).
- To get a local copy up and running follow these steps.
2 - open your terminal and clone the project running
git clone https://github.com/ahmedadel56/hello-rails-react.git
3 - install all the gems running
bundle install
4 - create the databases
rails db:create
4 - to run the project use
rails s
- Open
http://127.0.0.1:3000/
in your browser to use the app
- Run
rspec
to run the tests
๐ค Ahmed Adel
- GitHub: Ahmed
- LinkedIn: Ahmed Adel
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
This project is MIT licensed.
-
Ruby version 3.0.0
-
Configuration file: config/application.rb
-
Database creation script: config/database.yml
-
Database initialization: db/schema.rb