EASI stands for Easy API Specification Implementation-er and it is an example rather than a library on how to programmatically parse specification files into Express middlewares.
The flow of the program from the start to listening to ports is as follows,
- Require all needed libraries
- Define all constants
- Load specification into memory
- Load controllers into memory
- Match route and methods to respective controller methods
- Use tools middlewares
- Use router middleware with base path (optional).
- Use error handling middleware. (If needed)
- Listen to port and go live!