// 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

We're open til midnight!

Salsa & Chips

Try Our Delicious Salsa & Chips!

Nachos

Good Down To The Last Drop!

Avocado Dip

Avocado Anyone!

Papi's Tacos

Family Owned and Operated since 1985

bottom of page