https://github.com/brandiqa/redux-crud-example
Basic crud react-redux-featherjs app for managing contacts
https://github.com/brandiqa/redux-crud-example
feathersjs mongodb react redux redux-form
Last synced: 6 months ago
JSON representation
Basic crud react-redux-featherjs app for managing contacts
- Host: GitHub
- URL: https://github.com/brandiqa/redux-crud-example
- Owner: brandiqa
- License: mit
- Created: 2017-04-07T16:12:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T14:55:05.000Z (over 3 years ago)
- Last Synced: 2023-02-28T12:51:54.130Z (over 3 years ago)
- Topics: feathersjs, mongodb, react, redux, redux-form
- Language: JavaScript
- Size: 1.31 MB
- Stars: 54
- Watchers: 4
- Forks: 41
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# REDUX CRUD EXAMPLE - LEGACY VERSION
---
## ATTENTION
This version is still dependent on the old package dependencies for it to work well. Unfortunately, the code is no longer compatible with the latest version of Redux Form.
There's now an updated version of this project: https://github.com/brandiqa/react-crud-app. The main changes introduced in the new version include:
- Changing state management from Redux to [React Hooks and Context API](https://www.sitepoint.com/replace-redux-react-hooks-context-api/)
- Replacing Redux Forms with [React Hook Forms](https://react-hook-form.com/)
This version will remain accessible for those interested in learning the Redux way.
---
## Introduction
This a basic crud react-redux-featherjs application for managing contacts. It currently uses MongoDB for the database and FeathersJS for the REST API server.
https://www.sitepoint.com/crud-app-react-redux-feathersjs/
## How to install
```bash
git clone git@github.com:brandiqa/redux-crud-example.git react-contact-manager
cd react-contact-manager
# Install frontend dependencies
npm install
# Install backend dependencies
cd backend
npm install
```
## How to run
Ensure you have mongodb installed in your system and that it is running
### Start the backend server
Start the backend server first:
```bash
cd react-contact-manager/backend
npm start
```
This will run the backend server at localhost:3030. If all is working well, you should be able to access the url http://localhost:3030/contacts from your Browser or Postman
### Start the client
Open a separate terminal to start the client:
```bash
cd react-contact-manager
npm start
```
Your default web browser will be launched automatically with the url http://localhost:3000
## License
The MIT License (MIT)
Copyright (c) 2017 SitePoint
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.