/nest-js-firebase

A starter repository for start a Nest API project and host it with Firebase Cloud Functions.

Primary LanguageHTML

Nest

This is a starter repository for who wants to start a Nest API project and host it with Firebase Cloud Functions.

Prerequisites

First of all, you need to set the Firebase project inside .firebaserc, to do so just replace <project-id>. Then, you need the following tools installed globally.

How it works

  • To build the app $ npm run build
  • To run the server $ npm run serve
  • To run the server for development $ npm run serve:dev
  • To deploy it to Firebase $ npm run deploy

Problems

If you have problemas, read this artlice about making this repository, which have some troubleshooting tips.