@pd-solucoes/react-user-crud
TypeScript icon, indicating that this package has built-in type declarations

0.0.2-rv-2 • Public • Published

react-user-crud

This libs is a frontend integration to adonis-basic-crud

Pre requisits

nodejs 17.6.0 or superior

Install the library

    npm i @pd-solucoes/react-user-crud
    yarn add @pd-solucoes/react-user-crud

Project requirements

Its necessary add this variables in your .env file at host project.

    REACT_APP_API_URL=YOUR_API_URL
    APPLICATION_IDENTIFIER=YOUR_APP_IDENTIFIER

Usage

You will need install react router dom to run exported router.

In order to use available routes you can use this template in your App.tsx file.

import React from 'react';
import './App.css';

import {Router} from "@pd-solucoes/react-user-crud"


function App() {
  return (
    <Router 
    imgUrl="YOUR_IMAGE_LINK"
    logoUrl="YOUR_IMAGE_LINK"
    projectDescription="YOUR_PROJECT_DESCRIPTION">

    </Router>
  );
}

export default App;

Dependents (0)

Package Sidebar

Install

npm i @pd-solucoes/react-user-crud

Weekly Downloads

0

Version

0.0.2-rv-2

License

ISC

Unpacked Size

65.5 kB

Total Files

18

Last publish

Collaborators

  • pdsolucoes
  • jvteix
  • miguelbragagarcia
  • addor.pds
  • henriquemalves