Authentication system using Passport.js built with a clean architecture approach.
Built for re-use over a multitude of projects,
un-tied to a specific framework or database.
- @hapi/iron | Session Serialization / Deserialization
- passport-local | Local Autentication Provider
- passport-github | GitHub Autentication Provider
- Sendgrid | Email Delivery Network
- Jest | Testing Framework
- Next.js | Front-end Framework
- MongoDB | Database
- Clone the repo ✅
git clone https://github.com/stevenluongo/passport-authentication.git
- Install dependencies 🔨
or
npm install
yarn install
- Configure Environment Variables 📁
touch .env.local
View next.config.js for further instructionstouch .env.test.local
- Run Tests ( Optional ) 🔬
or
npm run test
yarn test
- Start the live server 🎉🎉
or
npm run dev
yarn dev