/firebase-monorepo

Basic Project Workspaces Firebase Function & Hosting use NestJs & VueJs (Typescript)

Primary LanguageTypeScript

Basic Project Workspaces Firebase Function & Hosting (Typescript)

  1. NestJs for Backend

  2. VueJs for Frontend

  3. Core package (Share resource to NestJs & VueJs)


Instruction

Follow instruction before you can run it

Clone this project and change directory to clone project.

Open terminal and run:

yarn

After finish installation, you can check by running:

yarn deploy:frontend

or

yarn deploy:backend

Firebase setup for initialized first on the project directory

Open terminal and run:

firebase init

Select Functions and Hosting and follow the step, and use language Typescript.

remove installation directories (functions and public)

Edit firebase.json same as the repo.

create directory packages and you can copy place backend, frontend & core from repo to this packages directory.

check your package.json on each backend, frontend & core directory, or just copy from repo.


Inspiration from github: Firebase monorepo with functions and web services use Express and React repo on github

Thank you 🙏 Craig Myles

Do not hesitate if there are suggestions and criticisms 🙂 @asapdotid