Skip to content

Instantly share code, notes, and snippets.

View Deyems's full-sized avatar

Adeyemi sola Deyems

View GitHub Profile
@Deyems
Deyems / express.js
Created June 8, 2023 18:02
User Controller file - Handles Post, Get Requests
const express = require('express');
const morgan = require('morgan');
const bodyParser = require('body-parser');
const compress = require('compression');
const methodOverride = require('method-override');
const cors = require('cors');
const helmet = require('helmet');
const passport = require('passport');
const routes = require('../api/routes/v1');
const { logs } = require('./vars');