@sapr/service-products

0.1.2 • Public • Published

service-products

Product's service app

About

This project uses Feathers. An open source web framework for building modern real-time applications.

Getting Started

Getting up and running is as easy as 1, 2, 3.

  1. Make sure you have NodeJS and npm installed.

  2. Install your dependencies

    cd path/to/service-goods; npm install
    
  3. Start your app

    npm start
    

Testing

Simply run npm test and all your tests in the test/ directory will be run.

Scaffolding

Feathers has a powerful command line interface. Here are a few things it can do:

$ npm install -g @feathersjs/cli          # Install Feathers CLI

$ feathers generate service               # Generate a new Service
$ feathers generate hook                  # Generate a new Hook
$ feathers generate model                 # Generate a new Model
$ feathers help                           # Show all commands

Compile

$ docker build -t IMAGE_NAME:IMAGE_LABEL .

Run

$ docker run -it \
  -e "DB_NAME=___" \
  -e "DB_USER=___" \
  -e "DB_PASS=___" \
  -e "DB_HOST=___" \
  -e "DB_PORT=___" \
  -e "NODE_ENV=production" \
  IMAGE_NAME:IMAGE_LABEL

Run with compose

$ DB_PASS=___ \
  DB_HOST=___ \
  DB_PORT=___ \
  DB_NAME=___ \
  DB_USER=___ \
  NODE_ENV=production \
  docker-compose up -d

Help

For more information on all the things you can do with Feathers visit docs.feathersjs.com.

Changelog

0.1.0

  • Initial release

License

Copyright (c) 2016

Licensed under the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i @sapr/service-products

Weekly Downloads

4

Version

0.1.2

License

none

Unpacked Size

36.2 kB

Total Files

32

Last publish

Collaborators

  • rogaldh