This is a sample implementation of the Corbado web-js package being integrated into a web application built with Angular (TypeScript).
src/app/app.module.ts
: acts as a boundary to load the Corbado projectsrc/app/app-routing.module.ts
: routing for the Angular web appsrc/app/login
: component for the login screensrc/app/profile
: component for the user profile information that is shown after successful authentication
Please follow the steps in Getting started to create and configure a project in the Corbado developer panel.
You need to have Node, Angular CLI and npm
installed to run it.
Install Angular CLI:
npm i -g @angular/cli
Run
npm i
to install all dependencies.
Finally, you can run the project locally with
ng serve