Spaces:
Paused
Paused
| const express = require('express'); | |
| const app = express(); | |
| const port = 7860; | |
| import bodyParser from 'body-parser'; | |
| import cors from 'cors'; | |
| app.get('/', (req, res) => { | |
| res.send('Hello World!'); | |
| }); | |
| app.listen(port, () => { | |
| console.log(`App listening on port ${port}`); | |
| }); | |