This is an Angular Firebase dev environment setup and container template that uses the ubuntu:latest base image. This script is designed to either configigure a new angularfire app, or clone an existing mono repo project. Included are dev containers and codespace definitions. Also has options to use ionic or capacitor for mobile development, and electron for desktop development. Asuusmes interactive environment for logins etc.
|— ngfire_init.sh : interactive shell script to setup the environment, can be run standalone, run by the dockerfile
|— Dockerfile : docker container file
|— .devcontainer /
| |— devcontainer.json : dev container configuration
The container setup buidls a directory for the repo with the following structure by default
.
└── {repo_name} # repo and firebase root
├── functions
│ ├── package.json # npm package file, description of cloud functions code
│ └── src
│ └── index.tx # firebase cloud function source file
├── public # client side code, can support multiple apps
│ └── {app_id} # the name af the angular app
│ ├── dist
│ │ └── {build_name} # map firebase hosting here to production build
│ └── src # app source code
├── .firebaserc
├── README.md
├── firebase.json
├── firestore.indexes.json
├── firestore.rules
└── storage.rules