Skip to content

joesajigeorge/cognito-nodejs-auth

Repository files navigation

Cognito NodeJS Authentication

This project is created to understand cognito authentication.

prerequisite

Install the npm Packages

npm install

Update the environment vaiables <USERPOOL_ID>, <CLIENT_ID>, in the serverless.yml file.

Deployment

Deploy the application

sls deploy

The application will be deployed to the default aws account in the aws configuration. You can also deploy to a particular profile.

sls --aws-profile < Profile Name > deploy

The application can also be run locally using serverless-offline plugin.

sls offline

Reference

Releases

No releases published

Packages

No packages published