1.0.1 • Published 1 year ago

drobs-users v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

This is a the Drobs users components for managing list of users by using an API The api implements :

  • GET /users to get the list of users => returns { usr_id:number, usr_name:string, usr_avatar:string }, ...
  • GET /users/{id} to get the detail for the user {id} => returns { usr_id:number, usr_name:string, usr_avatar:string }
  • PUT /users/{id} to update the user {id} with a body structure { usr_id:number, usr_name:string, usr_avatar:string } => returns number of updated rows
  • POST /users to create a nenw user { usr_name:string, usr_avatar:string } => returns usr_id

Getting Started

Install the package

npm install drobs-users

Then simply pass your API url in prop 'url' as in the following example

<Users url={YOUR_API_URL} />

Components list

  • UserList
  • UserInfo
  • UserForm
  • UserPicture
  • UserAvatar
  • UserCard
  • UserSave
  • UserSelect
1.0.1

1 year ago

1.0.0

1 year ago

0.0.20

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.24

1 year ago

0.0.25

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.1

1 year ago