GaryB432 / gb-grocery

A grocery list web app for your cellphone

Home Page:https://www.gb-grocery.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GbGrocery

A progress web app for my grocery shopping needs

This project was generated with Angular CLI version 13.0.3.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

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.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Docker noob notes

docker ps -a
rem docker rm -f $(docker ps -a -q)
rem rm -rf node_modules
rem npm i && npm run build
rem ng build --prod
docker build -t gb-grocery:6.next .
docker images
docker run -d -p 8086:80 gb-grocery:6.next
docker ps -a
docker stop fb
rem docker pull garyb432/gb-grocery:4.4
docker tag garyb432/gb-grocery:6.next garyb432/gb-grocery:latest

Visit http://localhost:8086 for the nginx experience

See also deploy-azure.cmd

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

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.

Data

FB (Firebase) LS (LocalStorage) Start up action
Y Y LS is a backup.
Y N LS is a backup. Save FB on LS.
N Y Maybe a new phone user. Save LS to FB. The people sharing this device only have one LS bucket so it will be overwritten but it is just a backup so overwriting is OK.
N N New user, initialize FB and LS

About

A grocery list web app for your cellphone

https://www.gb-grocery.com

License:MIT License


Languages

Language:TypeScript 84.4%Language:SCSS 7.0%Language:HTML 6.2%Language:Batchfile 1.1%Language:JavaScript 1.1%Language:Dockerfile 0.1%