@dev1blayzer/eatkidfriendly-backend
v1.0.5
Published
The RESTful API / GraphQL implementation of Eat Kid Friendly.
Downloads
33
Readme
EatKidFriendly Backend
The RESTful API / GraphQL implementation of Eat Kid Friendly.
How to Install
- git clone https://github.com/dev1Blayzer/EKF-III---backend
- npm install
- Download Service Account JSON from Firebase Project Settings and put it as service-account.json in the root. (See GIF below.)
How to Play
build
Delete the dist folder and run TypeScript compiler to build project.
build:firebase
Delete the dist folder, run TypeScript compiler, and generate Firebase Functions index with RESTful API.
clean
Delete the dist folder.
codegen
Generate typings and StencilJS components from models and queries.
env
Copy files from env folder and overwrite specific files per environment.
deploy:graphql
Deploy your GraphQL instance to Google Cloud.
deploy:firebase
Deploy your triggers (Cloud Functions) to Firebase.
lint
Run linting on TypeScript files.
migrate
Run migrations that haven't already ran from src/migrations folder.
release
Build a release of the backend, typings, and Stencil components.
seed
Deploy seeds from src/seeds to firestore collections.
seed:clone
Copy down data from firestore collections to src/seeds.
serve
Serve the project via a local web server and watch for changes to reload.
start
This is a alias for the serve command
test
This will run tests via jest.
test:watch
This will run a watcher on all your tests