A simple react-redux app consuming data from a rails-api app
- bundler, npm, and yarn
To try it out clone the repo and from the root folder do:
$ bundle install
$ rake db:create db:migrate db:seed
$ rails s -p 3001
This will install the rails dependencies, create the DB, migrate it, and seed it with initial data.
To spawn the react-redux app:
$ cd client/
$ yarn start
It should load up in your browser pointing to http://localhost:3000 where you can start using the app
Please note that I have kept the .env.production, and the .env.development files in the respository on purpose in order to ease the reuse of the app, also there's nothing secret in there anyways!
From root folder do:
$ rspec spec
Not all requests tests are passing due to issue with devise-token-atuh gem, here
Heroku is used to deploy the application, here is the live demo
- rails
- react
- redux
- bootstrap
- Setup Rails API and React Client
- Create DB schema for models
- Add authentication functionality
- Create API endpoints
- Add search and filter functionality Backend
- Add API tests
- Create client components
- Make it pretty using Bootstrap
- Add search and filter functionality Client side
- Deploy to Heroku
- Add client tests