// server.js const express = require('express'); const bodyParser = require('body-parser'); const app = express(); const PORT = process.env.PORT || 5000; // Middleware app.use(bodyParser.json()); // Routes app.get('/api/restaurants', (req, res) => { // Logic to fetch list of restaurants from database res.json(restaurants); }); app.post('/api/orders', (req, res) => { const { customerId, items } = req.body; // Logic to process order and save it to database res.json({ success: true, message: 'Order placed successfully' }); }); // Start server app.listen(PORT, () => { console.log(`Server is running on port ${PORT}`); });
top of page

Locations

  • Facebook Classic
DAMENZO'S PIZZA & RESTAURANT

 

2324 W. Taylor St. 

Chicago, IL. 60612

Tel: 312-421-1142

Your details were sent successfully!

bottom of page