This will be boilerplate code that you can make use of when setting up a new project. The creation of this source code is the result of following a tutorial by Ben Awad
The following base features will be implemented
- Register ( via email, with confirmation email )
- Login
- Forgot password
- Logout
- Cookies and http header ( browsers, and phones - respectively )
- Authentication middleware
- Rate limiting
- Locking accounts
- Testing
TypeOrm is being used for this tutorial.
- Run
npm i
command - Setup database settings inside
ormconfig.json
file - Run
npm start
command