SqueezerIO / squeezer
- понедельник, 15 апреля 2019 г. в 00:18:26
JavaScript
Squeezer Framework - Build serverless dApps
Squeezer is a platform that empowers new-entry blockchain developers to build serverless dApps simply as dead.
The main usage of the ChainKit is to unify top blockchains interfaces into a single normalized API interface , therefore you can build blockchain dApps easily without digging into blockchain complex infrastructure.
>=6Squeezer command-line interface
Create a quick project stub by using templates :
| template | description |
|---|---|
| api-nodejs | Generic API app template. |
Extend or merge the Squeezer framework functionality with plugins
| Plugin | Author |
|---|---|
| Serve Plugin This plugin enables serving support for local development within the Squeezer Framework. |
Nick Chisiu |
| Swagger Plugin This plugin enables Swagger API Documentation support within the Squeezer Framework. |
Nick Chisiu |
| Project Name | Author | Demo |
|---|---|---|
| Generic API Generic API Hello World + Swagger API Docs |
Nick Chisiu | demo |
NOTE: Windows users should enable symlinks in order to avoid unwanted symbolic links errors .
| cmd | description | |
|---|---|---|
| 1. | npm i squeezer-cli -g | Install Squeezer CLI |
| 2. | sqz create --project my-first-project --template api-nodejs | Create a project |
| 3. | cd my-first-project | Switch to the project's directory |
| 4. | sqz install | Install dependencies |
| 4. | sqz compile | Compile functions |
| 5. | sqz serve | Development mode Live compiling |
| cmd | description | |
|---|---|---|
| 1. | Configure provider & setup credentials | |
| 2. | sqz compile --cloud --stage dev | Compile functions for cloud deployments |
| 3. | sqz deploy | Deploy your app into the cloud provider |
See contributing.md for contribution guidelines