cdyn / ngfire-dev

angular firebase dev environment and contianers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngfire-dev

Open in GitHub CodespacesOpen in GitHub Codespaces

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.

Dependencies

Ubuntu Firebase Angular Ionic Capacitor Docker Visual Studio Code

Contents

 |— 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

Notes

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

About

angular firebase dev environment and contianers

License:MIT License


Languages

Language:Shell 93.9%Language:Dockerfile 6.1%