Skip to content

eixoweb/webtask-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example using wt-bundle

This example represents a simple express server that is structured so that:

  1. Your core server logic requires no changes to run on https://webtask.io or as a stand-alone server
  2. When building for the webtask platform, any dependencies not available on the platform will be bundled for you

Usage

As a standalone server

npm start

As a webtask

Note: As a pre-requisite to running this example as a webtask, you must have installed and configured wt-cli.

npm run bundle -- --prod --output ./build/webtask.js
wt create --name wt-bundle ./build/webtask.js

# Webtask url will be printed out. Your code is now running as a webtask at that url.

About

A webtask boilerplate with nodemon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published