const express = require('express'); const app = express(); app.get('/', (req, res) => res.json({data: [{name: 'John', age: 32}]})); app.listen(3000, () => console.log('Go!'));
Save on
Powered by
Node 8.11.1
help
Loading…