Introduction

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:

  1. GET / in src/routes/index.js.
    1. Renders a twigview.
  2. GET /users in src/routes/users.js.
    1. Returns a JSON payload.

Get started

How to install dependencies ?

npm install

How to start local server ?

npm run dev