Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polaristlx/react-redux-book-library
Book store application with React and Redux
https://github.com/polaristlx/react-redux-book-library
express javascript mongodb mongoose node nodejs react redux rubyonrails
Last synced: 29 days ago
JSON representation
Book store application with React and Redux
- Host: GitHub
- URL: https://github.com/polaristlx/react-redux-book-library
- Owner: PolarisTLX
- Created: 2018-08-06T17:17:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T15:15:08.000Z (about 6 years ago)
- Last Synced: 2024-10-10T05:02:23.512Z (29 days ago)
- Topics: express, javascript, mongodb, mongoose, node, nodejs, react, redux, rubyonrails
- Language: JavaScript
- Size: 1.01 MB
- Stars: 8
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## Check it out live on Heroku: [MERN Library with React and Redux](https://mern-stack-book-library.herokuapp.com/)
## MERN Library Project with Redux
This is a full-stack project with Redux, written to be compatible with two different backend frameworks built using:
* React as the frontend library + ReactStrap
* Redux for state controlAND
* Express.js and Node.js as the backend server
* MongoDB (through MLab) as the databaseOR - [An alternate compatible backend located here](https://github.com/jklemon17/book-library-api) which uses:
* Ruby on Rails as the backend server
* SQLite3 as the databaseYou can add, delete, and edit books from the library as well as keep track of your current progress through your books.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes using the MERN stack with Express and MongoDB. (If you wish to use the Ruby on Rails backend API, [go here](https://github.com/jklemon17/book-library-api).
### Prerequisites
This project runs on Node.js and uses the Node Package Manager (npm).
### Installing
* Clone the repo
* cd into the folder
* Run `npm install` and `npm run client-install` to install the necessary packages### Serve Project
Run the servers with the following command:
```
npm run dev
```Once its running, head over to your browser to [see the Library](http://localhost:3000/).
### Deploy on Heroku
You can deploy the project on [Heroku](https://www.heroku.com/) using the following steps:
1. Create a Heroku Account
2. On the terminal, run `heroku create` to create a new app
3. Run `git push heroku master` to start a deployment on Heroku.
4. Visit your project URL as assigned by Heroku (`heroku open`) to see a live deployment of the app.## Authors
* **Paul Rail** - [PolarisTLX](https://github.com/PolarisTLX)
* **Kyle Lemon** - [jklemon17](https://github.com/jklemon17)