Uploaded by ayman mohy

8f97ce25-3f8e-4045-9e9c-96d6ba0d515a eslamcasper - Eshop view

advertisement
eslamcasper - Eshop view
Tech Analysis
Registration and User Management
The project involves creating a registration form for two types of users: store owners
and regular clients. Upon registration, users will be required to provide their name,
phone number, and password. Mobile number verification will be implemented using
Google Firebase. After successful registration, users will be redirected to different pages
based on their account type.
API Integration
The system will integrate with external APIs, including Salla, Zid, and WooCommerce.
For store owners, there will be an additional step where they choose their store type
(e.g., cart, restaurant, commerce), and the system will connect to the respective API to
fetch and store order data in the database.
Token Renewal
Salla's API requires token renewal every 15 days. Automatic token renewal will be
implemented for each user account.
Domains
User:
{
"type": "owner" | "guest"
"name":"",
"phone":"",
"token":""
}
eslamcasper - Eshop view
1
Work Breakdown
Registration Form (9 - 15 hours)
depends on the UI requirement
Create a registration form with fields for:
Name
Phone number
Password
Account type selection (store owner or regular client)
Mobile Verification (10-12 hours)
Implement mobile number verification using Google Firebase.
Send verification codes and validate user phone numbers.
Conditional Redirect (2-7 hours)
Depending on the user's account type, redirect them to the appropriate page:
Store owner: Page to connect to external APIs and set up their store.
Regular client: Blank PHP page or a success message.
API Integration (25-30 hours)
Integrate with Salla, Zid, and WooCommerce APIs.
Fetch and store data from the selected store type (cart, restaurant, commerce) for
store owners.
Token Renewal (6-11 hours)
Implement an automatic token renewal system for each user account.
User Dashboard (15-20 hours)
Create a user dashboard for both store owners and regular clients (if applicable).
eslamcasper - Eshop view
2
Delievery details
Registration Form: 9-15 hours
Mobile Verification: 10-12 hours
Conditional Redirect: 2-7 hours
API Integration: 25-30 hours
Token Renewal: 6-11 hours
User Dashboard: 15-20 hours
Total Estimated Development Time: Approximately 67-95 hours
Given me availability of 10 hours per week, the project is estimated to take
approximately 7 to 13 weeks to complete.
Hourly rate: 47$
Total cost: $3,149 - $4465
Open Questions
1. User Interface: What are the design preferences for the registration form and user
dashboard?
2. API Details: Are there specific endpoints or data points needed from the Salla, Zid,
and WooCommerce APIs?
3. Security: Do you have any specific security requirements or authentication
mechanisms?
4. Database: Which database technology should be used to store user data?
5. Meeting Request: Would you like to schedule a meeting to discuss the project in
more detail and clarify any questions or ambiguities?
eslamcasper - Eshop view
3
6. Could a user have multiple stores? what kind of info we should persist in the
database?
7. What kind of data we need to save in the database?
8. Where our users from? only Egypt?
Potential Risks
1. External API Dependencies: Changes or delays in external APIs (Salla, Zid,
WooCommerce) may impact project timelines. Regularly monitor these APIs for
updates.
eslamcasper - Eshop view
4
Download