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

@advancedalgos/teams-client

v0.0.32

Published

Advanced Algos Team client-side web app

Downloads

67

Readme

Advance Algos Team Client-side Application

This is the Advanced Algos Team Module client-side web app a.k.a. single-page-application (SPA). We use Webpack 4 + Docker to develop locally, then build to a distribution bundle that can then be uploaded via FTP, git or used with a continuous integration workflow.

This webapp's server-side component is the aateam-api package.

For more information on the general architecture and related technology of this module, please visit this repos main documenation.

Getting Started

Run

		npm install

then

		npm run develop

Using Docker

Get latest Docker and Docker Compose: https://docs.docker.com/compose/install/

Using Docker container for Development

To run starter kit in development mode with hot code reload execute:

Run docker container in background:

docker-compose up -d

If image issues, try running:

docker-compose up --build

then run

docker-compose up -d

To view logs

docker-compose logs -f -t

Hit Ctrl + c to exit logs without stopping service

To stop service

docker-compose down

Overview

The development architecture of the Algobots Community site is to allow both rapid initial development and ongoing rapid-evolution. As with any opinionated workflow, there's a learning curve, but the libraries and architecture of this application have been chosen to maximize collaboration, flexibility, and extensibility.

Main Libraries

  • Webpack 4:web application bundler. Allows us to us latest newer JS ECMA features that increase productivity and code clarity. Also allows additional libraries such as modular and programmable CSS via SASS/SCSS/LESS. Provides webserver for local development.
  • Bulma CSS Framework: Bulma is a highly-customizable CSS-only framework allowing us to quickly prototype the layout of a webapp without being complicated by opinionated functionality represented in libraries such as Bootstrap or Material UI. Grants us the flexibility to create a custom look at top speed whilst minimizing baggage.
  • HyperApp: Allows a controlled Flux-styled approach to state-management and data-flow through components like React minus the excess boilerplate and learning curve.
  • Docker

File organization

.                               # Top level directory located at your choice
├── src		        
│   ├── actions   # Actions are functions that change the app state
│   ├── assets    # images, logos and other static assets
│   ├── state     # Schema of state — the single source of truth concerning app state.
│   ├── styles    # SASS/SCSS styles
│   ├── utils    	# Local storage and other utils
│   └── views     # Main folder for editing site content
│       ├─ nav    	# Nav components — header, footer, etc.
│       ├─ pages    	# Nav components — header, footer, etc.
│				│	 ├─ landing    # Homepage
│				│	 │	├─ sections    	# Homepage sections. Collated in its own index.js
│				│	 │	└─ index.js    	# Main homepage component. Pulls in sections
│				│	 └─ ...    	# Other page/component folders
│       └─ index.js   # Main view container. Main router
├── html		        
│   └── index.html   # index.html template pulled in by Webpack to attach transpiled bundles
├── index.js      # JS entry point to website
│
├── tools 				# utility scripts, mostly for webpack configuration
│            
├── node_modules  # created by running `npm install` in this packages root dir
├── dist          # created by `npm run develop` - a cache of bundled files served by Webpack for local development
└── build         # created by `npm run build` - location of deployable production bundle

Deployment

The simplest deployment is compiling/transpiling the site to a distribution bundle and then uploading the files in the bundle to a web-accessible folder or storage.

For this application we use Webpack to transpile the application which combines and minimizes all code and assets into an optimized bundle without and of the development code and resources.

To build, run:

	npm run build

Looking in this packages directory, there should be a ./build directory with the final built files that can be uploaded.

Deployment instructions

Coming soon...