Mimic the minimum features from Express JS
- App constructor:
express()
- Methods:
app.get, app.post, app.put, app.delete
- Helper functions:
send, json, status
- Functions:
next()
- Middleware:
app.use, Error middleware (must include next param)
- Support: Body Parser
- Multiple middleware in the methods
- Route String: Params and Querystring
- Router object
- Node.js >= 8.x
- npm >= 5.x
git clone https://github.com/gmoralesc/expresso
cd expresso
npm install
npm run dev
- Base url:
http://localhost:3000
Go to Extensions > Show Recommended Extensions