feat: Add user registration component and authentication services
- Implemented Register component for user sign-up with form validation and network status handling. - Created authAPI service for handling user login and registration with online/offline support. - Developed localStorage service for managing user data and sessions offline. - Introduced networkService for detecting online/offline status and managing connectivity. - Defined authentication types for requests and responses. - Added TypeScript configuration for the project.
This commit is contained in:
44
package.json
Normal file
44
package.json
Normal file
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"name": "LynkedUpPro",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"android": "react-native run-android",
|
||||
"ios": "react-native run-ios",
|
||||
"lint": "eslint .",
|
||||
"start": "react-native start",
|
||||
"test": "jest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-native-async-storage/async-storage": "^1.24.0",
|
||||
"@react-native-community/netinfo": "^11.3.1",
|
||||
"@react-native/new-app-screen": "0.82.1",
|
||||
"lynkeduppro-login-sdk": "^0.1.9",
|
||||
"react": "19.1.1",
|
||||
"react-native": "0.82.1",
|
||||
"react-native-safe-area-context": "^5.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.25.2",
|
||||
"@babel/preset-env": "^7.25.3",
|
||||
"@babel/runtime": "^7.25.0",
|
||||
"@react-native-community/cli": "20.0.0",
|
||||
"@react-native-community/cli-platform-android": "20.0.0",
|
||||
"@react-native-community/cli-platform-ios": "20.0.0",
|
||||
"@react-native/babel-preset": "0.82.1",
|
||||
"@react-native/eslint-config": "0.82.1",
|
||||
"@react-native/metro-config": "0.82.1",
|
||||
"@react-native/typescript-config": "0.82.1",
|
||||
"@types/jest": "^29.5.13",
|
||||
"@types/react": "^19.1.1",
|
||||
"@types/react-test-renderer": "^19.1.0",
|
||||
"eslint": "^8.19.0",
|
||||
"jest": "^29.6.3",
|
||||
"prettier": "2.8.8",
|
||||
"react-test-renderer": "19.1.1",
|
||||
"typescript": "^5.8.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user