Skip to content
/ Ash.ts Public
forked from argvsc47/Ash.ts

A minimal micro micro framework for web servers implemented in ( TypeScript )

License

Notifications You must be signed in to change notification settings

HopeTS/Ash.ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ash.ts

A minimal micro micro framework for web servers implemented in ( TypeScript )

config.ash

a config.ash file must be present in the file requiring Ash.ts example:

{
  "port": 8000,
  "proto": "http",
}

handlers

to route a url you need to add a js file containg it's handler under ./handlers dir with the name of the url example:

// - handlers/index.js
// name the file index for /
// the function that gets called is always 'handler' so be sure to include it
function handler(request, response) {
  response.write("Hello, World!");
  response.end();
}

About

A minimal micro micro framework for web servers implemented in ( TypeScript )

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%