# react-node-easy-crud

> create crud table in react which can work flowlessly with node-easy-crud

Latest version **1.0.2** (published 2020-10-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-node-easy-crud
pnpm add react-node-easy-crud
yarn add react-node-easy-crud
bun add react-node-easy-crud
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2020-10-04 |
| First published | 2020-10-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 1.6 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Shashank Padwal |
| Maintainers | shashank23p |
| Keywords | react, mongo, mern, crud, react-node-easy-crud, node-easy-crud, crud, node, express, mongoose, mongoose-crud |

## Links

- npm: https://www.npmjs.com/package/react-node-easy-crud
- Repository: https://github.com/shashank23p/react-node-easy-crud
- Homepage: https://github.com/shashank23p/react-node-easy-crud#readme
- Issues: https://github.com/shashank23p/react-node-easy-crud/issues
- npm.io page: https://npm.io/package/react-node-easy-crud

## Dependencies (3)

- [material-table](https://npm.io/package/material-table.md) ^1.62.0
- [@material-ui/lab](https://npm.io/package/@material-ui/lab.md) ^4.0.0-alpha.56
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ^4.11.0

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [mongoose-typescript](https://npm.io/package/mongoose-typescript.md) — 85 weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-10-04
- 1.0.1 — 2020-10-04
- 1.0.0 — 2020-10-04

## README

# react-node-easy-crud
react componets library to use with node-easy-crud to create easy curd application in MERN stack.
you should use [node-easy-crud](https://www.npmjs.com/package/node-easy-crud) on your backend to use this componets.

## Installation
`npm install react-node-easy-crud`

add icons css to index.html of react project
```html
<link
  rel="stylesheet"
  href="https://fonts.googleapis.com/icon?family=Material+Icons"
/>
```

## Simple usage

```jsx
<EasyCrudTable url="<node-easy-crud read endpoint>"></EasyCrudTable>
```
### Example
```jsx
import React from "react";
import "./App.css";
import EasyCrudTable from "react-easy-crud";

function App() {
  return (
    <div className="App">
      <EasyCrudTable
        url="http://localhost:5000/api/crud/Subject"
      ></EasyCrudTable>
    </div>
  );
}

export default App;
```

### Headers
you can also pass custom headers using headers props
```jsx
<EasyCrudTable
  url="http://localhost:5000/api/crud/Subject"
  headers={{ "auth-token": "AUTH_TOKEN","key":"value" }}
></EasyCrudTable>
```
## SnapShots
Table with read data

<img src="https://github.com/shashank23p/react-node-easy-crud/blob/master/snaps/table.png?raw=true" alt="Read Data Table" width="600"/>

Edit Form

<img src="https://github.com/shashank23p/react-node-easy-crud/blob/master/snaps/edit.png?raw=true" alt="Edit form" width="500"/>


Add Form

<img src="https://github.com/shashank23p/react-node-easy-crud/blob/master/snaps/add.png?raw=true" alt="Add form" width="500"/>


Delete Confirmation

<img src="https://github.com/shashank23p/react-node-easy-crud/blob/master/snaps/delete.png?raw=true" alt="Delete model" width="500"/>

---
_Source: https://npm.io/package/react-node-easy-crud · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
