@akashtech/tracko

tracko to switch the node js application

Usage no npm install needed!

<script type="module">
  import akashtechTracko from 'https://cdn.skypack.dev/@akashtech/tracko';
</script>

README

Project Tracko

A small library that can switch status of express.js application. it can be either true or false.if the project_name is true, it means it is on.

Installation

npm install @akashtech/tracko

Usage

# Firebase Setup 
    projects
         project_name: true

change firebase database rules 
`{ "rules": { ".read": true, ".write": false } }`

var tracko = require('@akash/tracko');

app.use(tracko(firebase_app_name,node_app_name));

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.