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

create-resolve-app

v0.34.3

Published

A tool that generates boilerplate web applications based on the reSolve framework

Downloads

626

Readme

Create reSolve App 🚀

npm version

This package creates an empty reSolve application. Use the --example option to create an application based on an example or template project. ReSolve applications comply with the CQRS and Event Sourcing principles and use React + Redux on the client side by default.

Create reSolve App allows you to specify application blocks (aggregates, read models, and UI elements (React components)) in a semi-declarative manner. The @resolve-js/scripts package deploys API backend and domain services to interact with the client. The @resolve-js/redux package automates the client-server interaction.

Refer to the React/Redux Links document for details on subject-related technologies and links to the corresponding resources.

Available options:

  • --example <folder> - create an application based on an example or project template. The default is the react template project.
  • --branch <branch> or --commit <sha> - use the example code from the specific branch or commit.
  • --typescript or -t - create a TypeScript project.
  • --version or -V - show the version number.

Quick Overview 🔎

Note: Installing a package globally may require administrative privileges. This means you have to use the sudo command for Unix-based systems or run a terminal with administrative privileges on Windows systems.

npm i -g create-resolve-app
create-resolve-app my-resolve-app
cd my-resolve-app
npm run dev

Terminal

After that, your app (the http://localhost:3000/ URL) opens in the default browser.

Getting Started

Create an App

Create a new reSolve application in one of the following ways:

  • yarn:

    yarn create resolve-app my-resolve-app
  • npx:

    npx create-resolve-app my-resolve-app
  • npm:

    npm i -g create-resolve-app
    create-resolve-app my-resolve-app

This creates the my-resolve-app directory in the current directory and places your new app into it.

Available Scripts 📋

Run in the Development Mode

Once the installation completes, you can start your app by running npm run dev or yarn dev in your application directory.

This runs the app in the development mode. Open the http://localhost:3000 URL to view it in your default browser.

The page reloads as you edit source code files. All errors appear in the console.

Build and Optimize for Production

The npm run build or yarn build command builds the client and server bundles for production using Webpack.

Building is performed in the NODE_ENV === 'production' mode, so the build is optimized.

The HTTP server for the serving client bundle and assets is not included.

Run the App From the Build Directory

npm start or yarn start

Run Unit Tests with Jest

npm test or yarn test

Run Functional Tests with TestCafe

npm run test:functional or yarn test:functional

User Guide

The resolve-create-app script adds a copy of the User Guide to your project folder as the README.md file.

Analytics