Skip to content

SunnyAsar/react-Bookstore

Repository files navigation

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.

About

A Simple app to keep track of book read.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published