Hello Rails From React
This is a simple web app to test working with rails and react
- Languages: Ruby React Redux Webpack Postgresql
- Frameworks: Ruby On Rails
- Technologies used: Visual Studio Code
In order to work on this project, you need to have the following dependencies installed:
$ git clone [email protected]:NickEmma/hello-rails-react.git
$ cd hello-rails-react
Run
$ bundle install
To get all the gems required for the project
Then, run
$ npm install
To install packages such as style linters
To check linters locally, use
$ rubocop
$ npx stylelint "**/*.{css,scss}"
Once you have the project correctly set up, run
$ bin/rails db:setup
To run all migrations, create the database for testing and for development, and insert some data into the database for you to visualize the changes
Finally, each time you make changes to the project, run
$ bundle exec rspec /spec
In the root folder to check the consistency of the app. Please don't make changes to the tests unless completely necessary, and mention it in your PR description.
Important note: Since this project uses webpack for the bundling, you need to run:
$ ./bin/dev i am on windows so you've to run yarn build --watch and then start the server
For you to see the app being applied in the browser during development
๐ค Nicholas Emmanuel
- GitHub: @NickEmma
- Twitter: @techieEmma
- LinkedIn: @Nicholas Emmanuel
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a โญ๏ธ if you like this project!
- Microverse
- LazyCoders
- Coding Partners
- Inspiration
- etc
This project is MIT licensed.