Skip to content

Instantly share code, notes, and snippets.

@teyyihan
Created June 15, 2020 13:46
Show Gist options
  • Save teyyihan/16b33d01c57f5ebf676280430a2acdc1 to your computer and use it in GitHub Desktop.
Save teyyihan/16b33d01c57f5ebf676280430a2acdc1 to your computer and use it in GitHub Desktop.
const express = require('express')
const app = express()
const bodyParser = require('body-parser')
const io = require('socket.io')(3100)
const mongoose = require('mongoose')
// body-parser
app.use(bodyParser.json())
// collections
const Users = require('./UserModel')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment