mxnre / 32healthtest_backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

32health backend

Express and Firebase

How to use

  1. Clone this repo and change directory to the cloned folder

  2. Install the packages

    npm install or yarn
  3. You need to download your Firebase Service Account json file, please follow the official instruction.

    Put the file at project root.

    ⚠️ Always make sure the JSON file is git-ignored!

  4. Copy .env.example file and rename it to .env at project root.

    Change the dummy FIREBASE_DATABASE_URL value with your Firebase project databaseURL, you can find it on your Firebase Console

  5. Then start the server

    npm start or yarn start
  6. Update package

    npm upate or yarn upgrade

About

License:MIT License


Languages

Language:JavaScript 94.9%Language:Shell 2.8%Language:Dockerfile 2.3%