This is an express.js base project to develop on top of it.
It uses twig template engine and has the minimum to create a JSON REST API.
It comes with two default endpoints created:
GET /
insrc/routes/index.js
.- Renders a
twig
view.
- Renders a
GET /users
insrc/routes/users.js
.- Returns a JSON payload.
npm install
npm run dev