ecomm/src/index.ts

15 lines
208 B
TypeScript
Raw Normal View History

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