Skip to content

オープンソース在庫管理サービスを作る / An open source online stock management service

License

Notifications You must be signed in to change notification settings

plageoj/fukagawa-coffee

Repository files navigation

Stockman

Stock and order manager for Fukagawa Coffee Co.,Ltd. (and others)

This project was generated with Angular CLI version 11.2.2.

Requirements

Required

package version
node.js ^12.20.2 || ^14.15.5 || ^16.10.0
npm >= 6.14.11

Optional npm global packages

package version
@angular/cli ^13
firebase-tools ^10.7.1

If you have not installed @angular/cli globally, you may use npx ng instead of ng commands below.

For VSCode users

Install angular.ng-template extension for type-hinting and code completion in HTML templates.

Installation

git clone git@github.com:plageoj/fukagawa-coffee.git
cd fukagawa-coffee
npm install

Development server

Run npm start for a dev server with Firebase local emulator suite. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

If you need to connect to the production environment, run npm run serve:prod.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Coding Style

Refer https://angular.io/guide/styleguide for coding style. Run ng lint or npm run lint for linting.

Commit prefix

Adding commit prefix is optional but recommended as it helps review process. Choose one from below:

  • add: Add some features, components, modules, etc.
  • del: Delete something.
  • fix: Fix bugs and issues.
  • doc: Documentation updates.
  • dep: Updating dependencies.
  • chore: Other changes that don't modify source files.

Build

Run ng build or npm run build to build the project. The build artifacts will be stored in the dist/ directory. Use the -c production flag or run npm run build:prod for a production build.

Deploy

This application is hosted on Firebase hosting. Merging any pull requests into master branch will trigger an automatic deployment.

Manual deployment is also available for approved firebase project members only, via ng deploy or npm run deploy (requires global firebase-tools installation) command.

Running unit tests

Run ng test or npm run test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e or npm run e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

About

オープンソース在庫管理サービスを作る / An open source online stock management service

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •