https://github.com/remrkabledev/node-authentication-system
An introduction to authentication with Node.js
https://github.com/remrkabledev/node-authentication-system
authentication authentication-backend bcyrpt express-session express-validator expressjs hacktoberfest hacktoberfest2020 nodejs
Last synced: 6 months ago
JSON representation
An introduction to authentication with Node.js
- Host: GitHub
- URL: https://github.com/remrkabledev/node-authentication-system
- Owner: reMRKableDev
- Created: 2019-05-29T07:56:16.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T20:39:49.000Z (6 months ago)
- Last Synced: 2024-10-22T15:19:48.641Z (6 months ago)
- Topics: authentication, authentication-backend, bcyrpt, express-session, express-validator, expressjs, hacktoberfest, hacktoberfest2020, nodejs
- Language: JavaScript
- Homepage:
- Size: 606 KB
- Stars: 1
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-authentication-system
An introduction to authentication with Node.js## Getting Started
Configure your Sequelize connector to read from process.env
```
const connector = new Sequelize(
process.env.YOUR_DATABASE_NAME,
process.env.YOUR_DATABASE_USER,
process.env.YOUR_DATABASE_PASSWORD,
{
host: process.env.YOUR_DATABASE_HOST,
dialect: YOUR_DATABASE_DIALECT
}
);
```### Prerequisites
What things you need to install the software and how to install them
```
sequelize
pg
pg-hstore
dotenv
morgan
ejs
express
express-session
cookie-parser
```### How To:
To use the examples provided:
```
1. Fork & Clone repo.
2. Run 'npm install' on your local repo so as to get the required dependencies.
3. Run app.js.```
Have fun :)