This is a Bookstore CMS build in React.js and redux.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
clone frontend repo
git clone https://github.com/SunnyAsar/react-Bookstore
clone backend repo
git clone https://github.com/HenryTabima/bookstore-backend
install dependencies in both projects
# For frontend npm install # For backend bundle install rails db:migrate rails db:seed
In the frontend project change "books-stub" import for "books" in
src/actions/index.jsto use the RoR backend service instead of a stub
Start development servers
Start rails server (inside rails project folder)
rails s -p 4000
Make sure that the development backend is running in port 4000
Start frontend server (inside react project folder)
localhost:3000 in your browser
npm run build
then you have to serve your static files
When you run the build script you're going to see instructions about how to deploy the project in github pages.
Henry Tabima Giraldo
This project is licensed under the MIT License - see the LICENSE.md file for details.