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

nerd-cli

v0.5.0

Published

NERD stack CLI

Downloads

15

Readme

NERD stack CLI

What is the NERD stack?

NERD is opinionated tooling for full-stack and cloud-hosted web applications. It lowers the barrier of entry for developing and deploying an industry-proven web stack.

  • :rocket: Node.js - server runtime
  • :earth_americas: Express - node web framework
  • :crown: React - front-end library
  • :trophy: DocumentDB - persistent NoSQL data storage

What is the CLI for?

The CLI is the end-user tool for scaffolding the necessary components of the entire web application. For all intents and purposes, the CLI is what the developer will use to get up and running with development as well as publishing to Azure.

Installation

npm install -g nerd-cli

Usage

  Usage: nerd [options] [command]


  Commands:

    install [dir]  install the base app
    run            run the app (local default)
    cleanup        remove all unnecessary sample code
    publish        publish to Azure
    regions        list all available Azure regions

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

:one: Create a new web app

nerd install <app_name>

What does this do?

  1. Clones the sample app (Nerdy Movies) into a new directory
  2. Configures the connection to the back-end DocumentDB data source
  3. Creates and configures the necessary npm scripts

:two: Run the web app locally

nerd run

What does this do?

  1. Creates a production build of the web app (npm run build)
  2. Runs the platform-appropriate start script (npm run start-local[-win])

:three: Cleanup the sample app code

The sample app is an illustration/demo of a running NERD app, but when you are ready to start you app development nerd cleanup will remove the unnecessary code from the project

nerd cleanup

What does this do?

  1. Runs npm run cleanup on the project (via boiler-room-custodian)

:four: Publish to Azure App Service

nerd publish

What does this do?

  1. Creates the Azure Resource Group (if it doesn't exist)
  2. Creates and configures the Azure Web App in the Resource Group
  3. Ties the web app to a DocumentDB data source (could be the same or different from the dev collection)
  4. Configures local git deployment to the Azure Web App
  5. Configures the upstream repo on the local git repo

:bulb: Note: this just sets up the Azure resources for hosting and the deployment functionality. It is up to the developer to run git push azure master to deploy the web app to Azure App Service

List Azure regions

nerd regions

What does this do?

  1. Makes a request and displays the Azure regions available

:bug: Bugs, feature requests, questions

Please open up an issue on this repo for a team member (or community member!) to take action on