DEEP Framework
raw JSON → 1.12.46 verified Sat Apr 25 auth: no javascript
A full-stack web framework for building cloud-native web applications on AWS Lambda. Current stable version is 1.12.46. It provides a streamlined development environment, microservices architecture, serverless computing, and abstracted cloud services (AWS only). Key differentiators include zero-devops scalability and a CLI tool (deepify) for local development and deployment. Release cadence is monthly with bug fixes and feature updates.
Common errors
error Error: Cannot find module 'deep-framework' ↓
cause Package is not installed in the project directory
fix
Run npm install deep-framework in your project root
error deepify: command not found ↓
cause deepify is not installed globally
fix
Run npm install -g deepify
error TypeError: DeepFramework is not a constructor ↓
cause Incorrect import method: using default import instead of named
fix
Use import DeepFramework from 'deep-framework' or const DeepFramework = require('deep-framework')
Warnings
breaking Migrate to Node 6.x required in v1.12.31 ↓
fix Update Node.js to >=6.0.0 and upgrade deep-framework to >=1.12.31
deprecated CommonJS require() is deprecated in favor of ES module imports ↓
fix Use import statement instead of require()
gotcha deepify CLI must be installed globally with -g ↓
fix Run npm install -g deepify
gotcha AWS credentials must be configured via CLI or environment variables ↓
fix Run aws configure or set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables
Install
npm install deep-framework yarn add deep-framework pnpm add deep-framework Imports
- DeepFramework wrong
const DeepFramework = require('deep-framework')correctimport DeepFramework from 'deep-framework'
Quickstart
const deepify = require('deep-framework');
const app = new deepify.App();
app.run().then(() => console.log('DEEP Framework started'));