The Income Verification Starter Kit is a comprehensive solution for automating the process of verifying user income through secure bank account connections. Utilising the Basiq Reports API, this kit generates detailed income verification reports that include both user-level and group-level analysis. It enables developers to seamlessly integrate income verification into their applications, providing a thorough understanding of users' financial situations.
- User Authentication: Simple login page to generate an authentication token.
- Report Generation: Generate income verification reports via the Basiq API.
- Dashboard: View and manage generated reports (accessible after login).
- Next.js: React framework for server-side rendering and static site generation.
- shadcn/ui: A modern UI library for React.
- Axios: Promise-based HTTP client for making API requests.
To get started, you will need click the "Use this template" button on the main page of the repo - this will generate a new repository.
Then you will need to clone the repository you have just generated.
- Node.js (>=14.x)
- npm or yarn
-
Clone the repository:
git clone https://github.com/your-repo/income-verification.git cd income-verification
-
Install dependencies:
npm install # or yarn install
-
Set up environment variables:
If you haven't already, Sign-up to the Basiq API service and grab your API key for your application (via the Developer Dashboard).
Once you have a Basiq API key, move the sample
.env.sample
file to.env.local
and paste in your Basiq API key next toBASIQ_API_KEY=
mv .env.sample .env.local
- NEXT_PUBLIC_BASI_Q_API_KEY= + NEXT_PUBLIC_BASI_Q_API_KEY=abc123
-
Run the development server:
npm run dev # or yarn dev
Navigate to
http://localhost:3000
to see the application in action.
- Token Generation: The login process calls the Basiq API to generate a token. The API endpoint used is
https://au-api.basiq.io/token
.