-
Notifications
You must be signed in to change notification settings - Fork 0
State Manager
Ryan Martin edited this page Mar 4, 2020
·
2 revisions
The Skybunk State Manager is a node module which is consumed by both mobile and web applications. It contains all of the shared front-end state and logic. This allows the mobile and web applications to be strictly UI, while all the main logic lives within the State Manager.
It is broken down into several different components, we'll call modules.
The package is broken down into different modules, representing the core components of the application:
- Channels
- Profiles
- Posts
- User
- Auth
Each module defines it's respective state and actions.
- Set up node
- Clone the repo
git clone https://github.com/CGUC/state-manager.git npm install
| Command | Description |
|---|---|
npm test |
Run the test suite |
npm run code-format |
Runs eslint and prettier, auto-correcting issues |
npm run code-format-check |
Runs eslint and prettier, checking for errors without auto-correcting them |