You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var express = require('express');
const cors = require('cors');
const port = process.env.PORT || 5000;
var app = express()
app.use(cors())
app.use(express.json())
const usersRouter = require('./routes/users')
app.use('/users', usersRouter);
app.listen(port, () => console.log('server started on port '+port));