import express from 'express'; import userRoutes from './routes/user'; const app = express(); const PORT = 3000; app.use(express.json()); app.use('/users', userRoutes); app.listen(PORT, () => { console.log('Server started on port 3000!'); })