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

bm-vslice-layered-service-shoppingcarts-node

v1.0.0

Published

<a name="links"></a> Quick links:

Downloads

2

Readme

Shopping Cart Microservice in Node.Js

Quick links:

Overview

This repository contains ecommerce vertical slice shopping chart microservice implemented in Node.Js

Project Structure

The project structure has the following (see below).

Source code:

  • /bin - a folder with executable binaries
  • /docker - a folder with dockerized build scripts
  • /obj - a folder with builded production code
  • /src - a folder with production code
  • /test - a folder with functional tests

Node.js configuration:

  • package.json - Node.js package descriptor

Minimalistic documentation:

  • /docs - a folder with autogenerated documentation by TypeDoc
  • README.md - component description
  • CHANGELOG.md - a list of changes
  • TODO.md - a list of planned ToDo items
  • LICENSE - a license for this component

Scripts for dockerized build and test process:

  • component.json - component descriptor used by automated delivery scripts
  • build.p1 - a script to build (compile) source code
  • check.p1 - a script to lint source code
  • test.ps1 - a script to run functional and non-functional tests
  • package.ps1 - a script to package component into a releasable artifact
  • package_docker.ps1 - a script to create component docker image
  • package_lambda.ps1 - a script to package component into a zip archive
  • clean.ps1 - a script to clear temporary artifacts left by the build and test process
  • run.ps1 - a script to run a container locally

Develop

For development you shall install the following prerequisites:

  • Node.js 14+
  • Visual Studio Code or another IDE of your choice
  • Docker

Install dependencies:

npm install

Compile the code:

tsc

Run automated tests:

npm test

Before committing changes run dockerized build and test as:

./build.ps1
./test.ps1
./clean.ps1

Contacts

This repository was created by and is currently maintained by Dmitriy Krayniy and Alexey Dvoykin.