- Landing page
- AWS Cognito Hosted UI
mkdir aws-cognito-hosted-ui-javascript-sample-app
cd aws-cognito-hosted-ui-javascript-sample-app
git clone [email protected]:mahmutbayri/aws-cognito-hosted-ui-javascript-sample-app.git .
# this is only require for serving static files and replace env varible inside index.html
npm install
cp .env.example .env
# edit your .env file, and difine CLIENT_ID, USERPOOL_ID, DOMAIN
node src/replace-index-file-env-variable.js
PORT=9900 npm run serve
if you need to recreate bundle.js
file, please run this command.
npm run build