0.2.2 • Published 2 years ago

@qpress/core v0.2.2

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Quick Express Core

Overview

This package is an add-on to @qpress/cli and allows for easy creation of qpress applications and assets. For the latest documentation, please refer to https://qpress-documentation.netlify.app/.

Installation

npm install -g @qpress/cli

Usage

Creating a New Application

To create a new application, open a terminal in the project directory and use the following command:

qpress new <<Application Name>> -m

This command will generate a new application with the given name. If a minimal application without sample data is needed, add the -m flag to the command.

Generating an Asset

To generate an asset, open a terminal in the desired directory and run the following command:

qpress g <<type>> <<name>>

This command will generate an asset in the given path. The available types are:

  • To generate a module: m or module (modules will be generated inside a folder named after the module automatically)
  • To generate a controller: c or controller
  • To generate a provider: p or provider
  • To generate a middleware: middleware

Generated assets will be automatically imported into the app module.

Running QPress Development Server

To run the QPress development server, open a terminal inside the project folder and run the following command:

qpress serve

This command will start the dev server with auto-reload.

Building QPress Server

To build the QPress server, open a terminal inside the project folder and run the following command:

qpress build

This command will compile and minify the QPress server.

0.2.2

2 years ago

0.1.8

3 years ago

0.1.6

5 years ago

0.1.7

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.0.10

5 years ago

0.0.11

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.1

5 years ago