Skip to content
A Simple app to keep track of book read.
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
.all-contributorsrc
.eslintrc.json
.gitignore
.stickler.yml
LICENSE.md
README.md
package-lock.json
package.json
react-bookstore.png

README.md

React-Bookstore

This is a Bookstore CMS build in React.js and redux.

react bookstore screenshot

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Installation

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.js to 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)

npm start

open localhost:3000 in your browser

Deploy

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.

Contributors

SunnyAsar
SunnyAsar

💻 📖
Henry Tabima Giraldo
Henry Tabima Giraldo

💻 📖

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

You can’t perform that action at this time.