All Projects → stribny → auth-quickstart

stribny / auth-quickstart

Licence: MIT license
Authentication Quickstart with Express, Passport and Sequelize

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to auth-quickstart

passport-local-sequelize
passport-local-sequelize is a sequelize plugin for building username and password login with passport
Stars: ✭ 81 (+65.31%)
Mutual labels:  sequelize, passport
seedpress-cms
A headless CMS built in Express for PostgresQL using Sequelize. Generally follows the Wordpress post and term schema.
Stars: ✭ 71 (+44.9%)
Mutual labels:  sequelize, passport
Next Postgres Sequelize
React 16.8.4 + NextJS 8.0.3 + Emotion + Sequelize 5/Postgres + Passport Local Auth + Google App Engine or Heroku Deployment
Stars: ✭ 176 (+259.18%)
Mutual labels:  sequelize, passport
fastexpress
Restful API Framework minimalist
Stars: ✭ 14 (-71.43%)
Mutual labels:  sequelize
react-redux-passport-uikit-express-boiler
A React+Redux boilerplate using Express as backend, UIKit for frontend, MongoDB for storage & Passport for auth.
Stars: ✭ 59 (+20.41%)
Mutual labels:  passport
todos-express-openidconnect
Todo app using Express, Passport, and SQLite for sign in via OpenID Connect.
Stars: ✭ 14 (-71.43%)
Mutual labels:  passport
DeepIPR
This is the code repo of our NeurIPS2019 work that proposes novel passport-based DNN ownership verification schemes, i.e. we embed passport layer into various deep learning architectures (e.g. AlexNet, ResNet) for Intellectual Property Right (IPR) protection.
Stars: ✭ 63 (+28.57%)
Mutual labels:  passport
college-timetable
🗓 프로들의 수강신청 전략 어플리케이션
Stars: ✭ 27 (-44.9%)
Mutual labels:  sequelize
vuenode-fullstack
Vue.Js & Node fullstack Single Page Application with Relational databases as backend using Sequelize. Live Demo:
Stars: ✭ 42 (-14.29%)
Mutual labels:  sequelize
mern-boilerplate
A Full MERN Stack Boilerplate for Web Apps including a local authentication system. Uses React, Express.js, MongoDB, Redux, Passport.js, Webpack, Testing, and more.
Stars: ✭ 211 (+330.61%)
Mutual labels:  passport
nightwatch-vrt
Visual Regression Testing tools for nightwatch.js
Stars: ✭ 59 (+20.41%)
Mutual labels:  nightwatch
1702-express-review
Review repo for express.js and sequelize for Fullstack Academy/Grace Hopper Academy 1702 cohort
Stars: ✭ 35 (-28.57%)
Mutual labels:  sequelize
2019-15
Catch My Mind - 웹으로 즐길 수 있는 캐치마인드
Stars: ✭ 19 (-61.22%)
Mutual labels:  sequelize
GlaxOJ
An Online-Judge written in Javascript (Nodejs and React).
Stars: ✭ 19 (-61.22%)
Mutual labels:  sequelize
nodefony
nodefony core framework
Stars: ✭ 19 (-61.22%)
Mutual labels:  sequelize
add-my-name
No more WhatsApp spams 🎉
Stars: ✭ 16 (-67.35%)
Mutual labels:  passport
hyouka
Um bot open-source com dashboard incluída
Stars: ✭ 12 (-75.51%)
Mutual labels:  passport
graphql-server-typescript
GraphQL + MongoDB express server with JWT authorization (in Typescript!)
Stars: ✭ 48 (-2.04%)
Mutual labels:  passport
node-server-template
This is Node.js server tidy template / boilerplate with Express (with asyncified handlers, custom error handler) framework and MongoDb. The server use ES6 and above. On different branches you can see different techniques' and technologies' usage, such as Kafka, nodemailer, file download... You also can find postman collections.
Stars: ✭ 116 (+136.73%)
Mutual labels:  sequelize
ID-Card-Passport-Recognition-SDK-Android
On-Device ID Card & Passport & Driver License Recognition SDK for Android
Stars: ✭ 223 (+355.1%)
Mutual labels:  passport

Authentication Quickstart with Express, Passport and Sequelize

This is a quick-start application that demonstrates basic authentication using Passport and Sequelize. It is built with:

I wrote a blog post Authentication Quickstart with Express, Passport and Sequelize about this quick-start.

Requirements

As it is a Node application, you will need Node.js installed.

The app uses a SQL database via Sequelize ORM. It was tested with PostgreSQL, but should work with other supported databases as well.

Installation

Clone the repository and simply run npm install from the root folder.

Configuration

In order to run the application, a database connection string has to be configured. The connection string is stored in app/sequelize.js.

When Sequelize is configured, you can run the setup script that creates the users table and also adds one default user (username: user, password: user). From the root directory run:

node setup.js

If you want to run the tests, it is necessary to configure Nightwatch.js using the nightwatch.json file. Namely it is required to provide server path to selenium. For more information see the documentation.

Run the application

From the root folder of the project, you can run the application with:

node app.js

You can then access the application on http://localhost:8080.

Available pages:

  • Log in on http://localhost:8080
  • Sign up on http://localhost:8080/signup
  • Dashboard [requires to be logged in] on http://localhost:8080/dashboard
  • Log out on http://localhost:8080/logout

Run the tests

A basic set of Nightwatch end-to-end tests is provided. To run the tests, first make sure that the application is running and then start the test suite by typing nightwatch in the root folder. Note that you have to configure Nightwatch.js first.

License

Author: Petr Stříbný

License: The MIT License (MIT)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].