Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Express App using Electrolyte

This example illustrates how to use Electrolyte when building a web application with Express.

Electrolyte uses dependency injection to automatically initialize the database connection, logging facility, and other components needed by route handlers. This eliminates boilerplate plumbing, and results in very modular route handlers.

When writing unit tests, any component required by a route handler can easily be mocked, allowing for maximum code coverage, including easy simulation of errors and error handling.

Install & Run

$ npm install
$ npm start

Directory Structure