Skip to content

๐Ÿ”ฎ A reimplementation of ExpressJS, with some magic puns maybe ๐Ÿ”ฎ

Notifications You must be signed in to change notification settings

harrietty/hexpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

20 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Express Reimplementation: Hexpress

Express is the most common NodeJS framework for serverside application development. It is commonly used for building REST APIs, single page and multi-page web applications following an MVC pattern and can be used with view engines such as EJS and Pug.

Express leverages Node's HTTP module whilst greatly simplifying backend workflow.

In this project I reimplement some features of Express. For fun!

Running the project

Make sure NodeJS is installed on your machine.

Clone the project

Move into the directory and install dependencies.

cd hexpress && npm install

Run the test suite:

npm test

TODO

  • Can get a new Hexpress app โœ“
  • Default 404 error handling โœ“
  • Basic app.get() routing โœ“
  • app.put(), app.post(), app.delete(), app.all() routing โœ“
  • Support parameterised routes โœ“
  • Support queries โœ“
  • Support custom middleware โœ“
  • Support custom error middleware โœ“
  • Support serving static files โœ“
  • Support using a template engine โœ“
  • Hexpress.Router ?

About

๐Ÿ”ฎ A reimplementation of ExpressJS, with some magic puns maybe ๐Ÿ”ฎ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages