@dexecure/dexecure v0.0.3
Dexecure
Motivation. Why Dexecure?
π‘ When creating websites, certain pattern of code/infrastructure is always required.
π¨βπ» Instead of doing everything from scratch, this project provides a base framework.
π Now anyone can clone this repository, get all the benefits and start working on important stuff immediately.
π MBenefits detailed in the Roadmap section.
Getting Started
- You will need to install Pulumi and configure it to use your AWS account.
- Create a new project and set your preferred aws region.
$ mkdir dexecure-example && cd dexecure-example
$ pulumi new aws-typescript
$ pulumi config set aws:region us-west-2
- Install dexecure
npm install @dexecure/dexecure
- Create an S3 bucket to be used as the origin for dexecure CDN
import { Dexecure, DexecureWebpPlugin } from "@dexecure/dexecure";
import * as aws from "@pulumi/aws";
// Create an AWS origin bucket (S3 Bucket)
const bucket = new aws.s3.Bucket("example-website");
// create dexecure cdn
const dexecure = new Dexecure.CDN("dexecure-example", {
origin: bucket,
cacheTime: {
default: 604800,
},
plugins: [new DexecureWebpPlugin()],
});
export const cdn = dexecure.domainName;
- Deploy the Stack
pulumi up
Tools π
Backend:
Environment and code organisation:
Roadmap (What is done and not done)
Base
Handle Different CDNs:
β
Cloudfront
π Cloudflare
π Akaimai
π Baishancloud
Handle Different Plugins:
π Asynchronous Plugins via Cloud Functions
π Asynchronous Plugins via Docker
π Fucntional with different types of instances
π Handling different code bases
π Handle multiple plugins at the same time
π Syncrhnous Plugins
π Handle Localise Infrastructure
π Handle Localise CDNs
π Retriving Userβs Device/Browser/etc. Type
Handle Different Infrastructure:
π AWS
π Azure
π GCP
Plugins
π Dependency Selection
π HTML
π Image Processing
π Injecting Codes
π Multiple CDNs
π Security
π Text Processing
π Video
Automation
π Initialization Script
π Security
Dashboard
π Configurations
π Login
π Reports
Documentation
π API References
π Blog posts / How-to
π ReadME
π Wiki