A basic environment to start working with workers in cloudflare with D1 database support.
Is very similar to express.js see cloudflare workers documentation
To create a new schema edit schema.sql next run command:
npm run start-schema
To use database
var { results } = await env.DB.prepare('SELECT * FROM users").all();
See sqlite nodejs documentation