You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const express = require('express');
|
|
const app = express();
|
|
|
|
app.use(express.json());
|
|
|
|
const peopleController = require('./controllers/people.js');
|
|
app.use('/people', peopleController);
|
|
|
|
app.listen(3000, () => {
|
|
console.log('listening');
|
|
})
|