add prettier to backend
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import express from 'express';
|
||||
const app = express();
|
||||
const port = 3000;
|
||||
import express from 'express'
|
||||
const app = express()
|
||||
const port = 3000
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.send('Hello World!');
|
||||
});
|
||||
res.send('Hello World!')
|
||||
})
|
||||
|
||||
app.listen(port, () => {
|
||||
return console.log(`Express is listening at http://localhost:${port}`);
|
||||
});
|
||||
return console.log(`Express is listening at http://localhost:${port}`)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user