const express = require('express'); const authRoutes = require('./routes/authRoutes'); const app = express(); app.use(express.json()); app.use('/api', authRoutes); app.listen(3000, () => console.log('Auth server running at http://localhost:3000'));
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter