Commit aae77d1
feat: implement complete auth/registration system (backend + frontend)
Backend: Add Express 5 API layer with Auth, User, Helper, Medical, and Location
modules. Each module has service (business logic with field whitelisting),
controller (HTTP layer), routes (with express-validator), and utilities.
Includes shared ApiError/ApiResponse/asyncHandler/validate middleware.
Frontend: Add Redux Toolkit store with auth slice (17 reducers), API client
with Axios interceptors, and 5 multi-step signup screens (StepOne role selector,
StepTwoUser emergency contacts, StepTwoHelper skills/availability,
StepThreeMedical optional health info, StepLocation GPS/manual address).
Includes FormInput, PrimaryButton, StepIndicator shared components.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 4b28d6c commit aae77d1
46 files changed
Lines changed: 17549 additions & 53 deletions
File tree
- LifeLine-Backend
- src
- api
- Auth/v1
- Helper
- Location
- Medical/v1
- User/v1
- middleware
- utils
- tests
- Lifeline-Frontend
- app
- Auth
- src
- config
- features/auth
- screens
- services
- store
- slices
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
0 commit comments