/firebase-json-server

Firebase + json-server = :sparkles:

Primary LanguageJavaScript

firebase-json-server

Roll your own json-server with Google Firebase

Requirements

Instructions

  1. Install nodejs with npm (or yarn)
  2. Install firebase-tools CLI npm install -g firebase-tools
  3. Clone & cd into this repo
  4. Login to firebase with CLI firebase login
  5. cd functions && npm install
  6. Change functions/db.json to suit your needs
  7. Start local json-server with firebase serve --only=hosting,functions
  8. Deploy json-server to firebase cloud hosting with firebase deploy
  9. Access to url http://localhost:5000/api/ or https://yourprojectname.firebaseapp.com/api/

Projects