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

palo-express

v0.1.1

Published

Palo Framework

Downloads

4

Readme

Palo -- ES6-powered Express + React + Webpack + Jade

All modern technologies in one bundle: ECMAScript 6/7 via Babel + Express 4 + React + Webpack + FlightPlan + SASS + Redux + Jade

To run in dev mode, type npm run dev or pm2 start pm2.local.json to run in watch mode. To build project, type npm run build.

Installation

  1. Global dependencies:
npm i -g \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected]
  1. Dependencies
npm i

Features

  1. ES6 + ES2015 via Babel + ESlint
  2. React + helmet
  3. SASS and LESS support
  4. Autobuild all with Webpack
  5. Automated deploy
  6. PM2 support
  7. Redux
  8. Jade support from-the-box
  9. Sprite build from images directory
  10. Remote repository data fetch and Model+Service architectute, so you can attach any another ORM like Sequelize
  11. Comfortable project structure:
├── app
│   ├── actions
│   │   ├── ...
│   │   └── // actions with redux
│   ├── client.jsx                         // client-side entry point
│   ├── components
│   │   ├── common                         // common react components
│   │   │   ├── authenticateComponent.jsx  // predefined component wrapper to check authentication status
│   │   │   ├── ...
│   │   │   └── // other common components
│   │   ├── components                     // compoments like buttons etc.
│   │   │   ├── ...
│   │   │   └──  // included component wrapper to check authentication status
│   │   └── pages
│   │       ├── ...
│   │       └── // page components which can be included as sub-components of routes in routes.jsx
│   ├── constants
│   │   ├── ...
│   │   ├── actionTypes.js                 // predefined action types for redux
│   │   └── // other constants
│   ├── createDevToolsWindow.js            // script to show devtools with stack traces etc.
│   ├── elements
│   │   ├── ...
│   │   ├── Header.jsx                     // predefined script to render html head properly with helmet etc.
│   │   └── // other constants
│   ├── helmconfig.js                      // helmet config
│   ├── images
│   │   ├── favicon.png                    // base favicon
│   │   └── favicons
│   │       ├── apple-icon-152x152.png     // apple touch icon
│   │       ├── chrome-icon-192x192.png    // chrome icon
│   │       ├── favicon-16x16.png          // basic favicon
│   │       ├── ms-icon-144x144.png        // msie icon
│   │       ├── ...
│   │       └── // page components which can be included as sub-components of routes in routes.jsx
│   ├── reducers
│   │   ├── ...
│   │   ├── index.js                       // reducer loader
│   │   └── user.js                        // predefined user reducer
│   │   └── // other reducers
│   ├── routes.jsx                         // client-side router configuration
│   ├── scss                               // preferred SCSS structure is similar to components dir structure
│   │   ├── common
│   │   │   ├── helpers.scss
│   │   │   ├── main.scss
│   │   │   ├── mixins.scss
│   │   │   └── settings.scss
│   │   ├── components
│   │   │   ├── _layout.scss
│   │   │   ├── _login.scss
│   │   │   └── _logout.scss
│   │   ├── pages
│   │   │   └── _profile.scss
│   │   └── sprites
│   │       ├── ...
│   │       └── // generated sprite styles
│   ├── server.jsx                         // entry point to server-side rendeting script
│   ├── sprites
│   │   ├── ...
│   │   └── // generated sprite images
│   ├── store
│   │   └── configureStore.js
│   └── utils
│       ├── classnames.js
│       └── immutableHelpers.js
├── package.json
├── pm2.development.json                   // pm2 configuration in development mode
├── pm2.local.json                         // pm2 configuration in development mode with file watch
├── pm2.production.json                    // pm2 configuration in production mode
├── public
│   └── assets
│   │   ├── ...
│   │   └── // webpack generated output
├── runtime
│   └── logs
│       ├── stderr.log                     // application logs stdout output
│       └── stdout.log                     // application logs stderr output
├── server
│   ├── app.js                             // server entry point
│   ├── configuration
│   │   ├── config.js                      // server common configuration
│   │   ├── development.js                 // server enviroment-based configuration
│   │   ├── production.js                  // server enviroment-based configuration
│   │   └── local.js                       // server local configuration (unneccessary)
│   ├── controllers
│   │   ├── EntryPointController.js        // predefined client-side html entry point generator
│   │   ├── ServerStatusController.js      // server statuc controller (to show uptime, release version etc.)
│   │   ├── SessionController.js           // login/logout etc.
│   │   ├── SingleUserController.js        // single user controller
│   │   └── UserCollectionController.js    // user collection controller
│   ├── core
│   │   ├── base
│   │   │   ├── Component.js
│   │   │   ├── Controller.js
│   │   │   ├── Exception.js
│   │   │   ├── Model.js
│   │   │   └── Service.js
│   │   ├── bootstrap.js
│   │   ├── components
│   │   │   ├── Pager.js
│   │   │   └── RemoteRequest.js
│   │   ├── constants
│   │   │   ├── index.js
│   │   │   └── paths.js                   // framework files locations, so to change where some files are placed you can set it here
│   │   ├── enumerations
│   │   │   ├── Environments.js
│   │   │   ├── HttpMethods.js
│   │   │   ├── PagerSortDirections.js
│   │   │   └── ServerParameters.js
│   │   ├── exceptions
│   │   │   ├── ComponentAutowireException.js
│   │   │   ├── CoreException.js
│   │   │   ├── HttpNotFoundException.js
│   │   │   ├── NotImplementedMethodException.js
│   │   │   └── SessionException.js
│   │   └── skeleton-config.js
│   ├── enumerations
│   │   └── pager
│   ├── exceptions
│   │   └── UserNotFoundException.js
│   ├── middlewares                        // predefined middlewares
│   │   ├── after
│   │   │   └── requestException.js
│   │   └── before
│   │       ├── jsonRequest.js
│   │       ├── passport.js
│   │       ├── pureSend.js
│   │       ├── requestTime.js
│   │       ├── safeRequest.js
│   │       ├── serveStatic.js
│   │       ├── session.js
│   │       ├── webpackDev.js
│   │       └── webpackHot.js
│   ├── models
│   │   └── User.js                        // predefined remote repository model
│   ├── runtime
│   ├── services
│   │   └── UserService.js                 // predefined user service
│   └── views
│       └── index.jade                     // client-side entry point html template
└── webpack
    ├── settings.js                        // webpack common environment-agnostic settings
    ├── webpack.config.development.js      // webpack + hot reload config
    └── webpack.config.production.js       // webpack production config

TODO

  1. Implement Flightplan.js deployment script (restore) to deploy via npm run deploy:target ot via fly target.
  2. Refactor configuration (divide config declaration from data instantiation)
  3. Add support to load middleware from node_modules without compatibility wrapper