Skip to content

Instantly share code, notes, and snippets.

View Hendrixer's full-sized avatar

Scott Moss Hendrixer

View GitHub Profile
@Hendrixer
Hendrixer / routes.coffee
Last active February 7, 2022 07:39
Forgot password feature with Node, Epxress, Mongo
# for API and DB endpoints
user = require './controllers/userController'
mainFeed = require './controllers/mainFeedController'
{isLoggedIn} = require './middleWare'
{alreadyLoggedOut} = require './middleWare'
module.exports = (app, passport) ->
#=========================
# Routes here!!