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 🙏

© 2025 – Pkg Stats / Ryan Hefner

create-react-node

v1.1.1

Published

This is a Starter template for react and node application

Downloads

7

Readme

React Node Starter Kit

This is a Starter template for react and node application

To initiate run

  npx create-react-node <project name>

First Step

change directory

  cd app

ALL THE FOLLOWING COMMANDS WILL EXECUTE ONLY IN APP FOLDER

Initializing

Install both node and react dependencies with following npm command

  npm run install-all

npm i && cd client && npm i --force

  • First it installs node modules for server
  • change directory to client
  • Installs node modules for client

Run development server

To run a development version of this application run the following npm command (Both fronend and backend)

  npm run start-mon

concurrently --names "Server,client" -c "bgGreen.bold,bgBlue.bold" "nodemon server/src/index.js" "cd client && npm start"

  • Uses concurently package to run server and client at the same time
  • --names "Server,client" names for our process
  • -c "bgGreen.bold,bgBlue.bold" colors to differentiate
  • "nodemon server/src/index.js" "cd client && npm start" commands to run in concurently

To run only server

To start the server without fronend

  npm run dev

nodemon server/src/index.js

  • starts server with nodemon

Only build generation

To run a production version of this application first run the build command which will generate a publish folder in root

  npm run build

cd client && npm run build

  • Changes to client directory
  • Runs npm run build inside client to generate publish folder in parent (i.e same level as server)

Build and deploy zip generation

The following command build the frontend applocation and creates a deploy folder and deploy.zip in parent folder (app level)

Logo

  npm run build-deploy

cd client && npm run build && cd .. && npm run create-zip

  • Changes to client directory
  • Runs npm run build inside client to generate publish folder in parent (i.e same level as server)
  • changes to parent directory (server)
  • runs create-zip custom script to generate deploy folder and deploy.zip in parent filder ( same level as app)

starting application

To start the application after build is done run the following command

  npm start

Dependency commands and scripts

The folowing scripts and commands are not directly used by user but they are used by our main scripts

create-zip

To run a task in gulpfile which will create a deploy folder and generates deploy.zip

  npm run create-zip

Logo

  • Executes gulp createDeploy command to run createDeploy task

  • Gulpfile contains the above script to perform the operations