npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

react-admin-layout

v1.1.4

Published

An layout for React admin app

Downloads

3

Readme

Getting Started with React Admin App .

follow the step to creating your own admin layout using cli.

STEP 1 :

You can create app using npx like this:

npx create-react-app yourAppName --template react-admin-layout
  • this command will generate your new project with a login functionality and a single module Users.
cd yourAppName
  • This will redirect you to your project's directory.
npm start
  • Change APPNAME, COMPANYNAME and VERSION from the Defaults.js file inside src/Defaults.js.
  • Add your server's base URL in the config.js file inside src/http/config.js.
  • To change app color change primary color code inside src/styles/colors.js.

Why?

To help speed up productivity in React projects and stop copying, pasting, and renaming files each time you want to create a new component.

In this template by using a single command you can generate a whole module including components, containers with CRUD operations in redux . i.e.-

STEP 2 :

npm run generate
  • above command is to generate a new module.

STEP 3 :

what is your module name ?

  • Example - dashboard ,work etc.

STEP 4 :

This module will have list view of ?

  • Example - post, todo etc.

-- This will be in the followings:-

  • list view all contents
  • as the end point in the url to fetch the lists for the list view.

STEP 5 :

What do you want in the main view ?

  • options - tabs ,table ,summary ,blankfile
  • Choose any one to get auto generated UI in the main view
  • if you select tab output will be as :-
  • On following the above steps i.e. 2nd to 5th a module will be created with its list view and main view .