Commit Graph

6 Commits

Author SHA1 Message Date
Emmanuel Rizky
18b23119ef feat(auth): implement multi-step authentication flow
This commit introduces a complete user authentication system, replacing the previous placeholder login page. The new flow includes signup, login, and OTP verification, all integrated with backend webhooks.

- Adds `AuthPage` to manage the view state between login, signup, and OTP forms.
- Implements `LoginForm` with support for both email and WhatsApp credentials.
- Implements `SignupForm` with password strength and confirmation validation.
- Adds `OtpForm` for two-factor verification after a successful signup.
- Integrates `axios` for making API calls to the backend webhooks.
- Updates styling with a new background, custom brand colors, and the Poppins font.

BREAKING CHANGE: The `LoginPage` component has been deleted and is replaced by the new `AuthPage` component. Any imports of `LoginPage` must be updated.
2025-08-02 16:32:07 +07:00
Emmanuel Rizky
c9e7daf801 feat(auth): implement multi-step authentication flow with UI
This commit replaces the placeholder login page with a comprehensive, multi-step authentication system. It introduces a new `AuthPage` that orchestrates the user flow between login, signup, and OTP verification.

- **Login Form**: Supports both email and WhatsApp credentials, with input validation and API integration.
- **Signup Form**: Includes fields for full name, email, and WhatsApp, with real-time password strength validation.
- **OTP Form**: Provides a view for users to verify their account after signup.
- **UI/UX**: The entire authentication experience is restyled with a new background, Poppins font, custom brand colors, and improved form components for a polished look and feel.
- **Dependencies**: Adds `axios` for handling API requests to the backend.

BREAKING CHANGE: The `LoginPage` component has been deleted and is replaced by the new `AuthPage` component. All references to `LoginPage` must be updated.
2025-08-02 15:26:12 +07:00
Emmanuel Rizky
c845ea5827 docs(memory-bank): update context and tech stack after project analysis
The context file is updated to reflect the recent analysis of the `adventure-rental-app`, `kawruh-app`, `motel-app`, and `pakrete-app` repositories.

The tech stack documentation is corrected to specify Vite as the frontend build tool instead of Create React App.
2025-08-01 12:54:14 +07:00
Emmanuel Rizky
f2f98c74f9 build: migrate to vite and update dependencies
Migrates the React app from Create React App (CRA) to Vite
for faster build times and improved development experience.
Also updates all dependencies to their latest versions.

BREAKING CHANGE: Removes react-scripts and CRA-related
dependencies.  The development and build processes now rely
on Vite.
2025-08-01 12:39:25 +07:00
49d0ec4ddf build(kawruh-app): initialize react app dependencies and scripts
This commit populates the `package.json` for the `kawruh-app` with the standard configuration provided by Create React App.

It includes dependencies for React, testing-library, and web-vitals, along with the necessary scripts (`start`, `build`, `test`, `eject`) to manage the development lifecycle.
2025-07-31 00:07:52 +07:00
12c65e4f9f feat: initial commit for camping rental webapp
This commit establishes the foundational structure for the Karyaman project, focusing on the camping equipment rental web application.

Key additions include:
- Scaffolding for three React applications: `adventure-rental-app`, `motel-app`, and `pakrete-app` using Create React App.
- Initial implementation of `HomePage` and `CategoriesPage` components for the `adventure-rental-app`, based on provided design mockups.
- Project documentation including PRDs and design files for the applications.
- Configuration of the Kilo Code memory bank with core project details such as architecture, product vision, and tech stack.
2025-07-31 00:07:28 +07:00