This is a website where you can find a pet sitter for your pets when you are not free.
At this website, you can:
Run in the following sequence:
1. \i tables/user_info.sql
2. \i owner_info.sql
3. \i customer_info.sql
4. \i pet_info.sql
5. \i customer_pet_info.sql
6. \i appointments.sql
7. \i owner_appointments.sql
8. \i customer_appointments.sql
9. \i reviews.sql
10. \i service.sql
11. \i owner_service.sql
12. \i factions.sql
cd app
node bin/www
then go to your explorer, type: localhost:3000
to view all functions without front-end, approach to branch01
You can make a search here. Afterwards, it will post the info to /search page.
- If you do not specify any constraints, recommended 20 results will be shown.
- You must specify a kind of pet. Other constraints include: house_type, pet_age, date, ratings, etc.
- (Not finished) You can rank the results according to the choice you made in search constraints.
- After a search, results will be shown on the right side. The number of results will be shown.
- In the right result cards, you can pick one and find the owner's detail information
- On the left side, there is a "CONTACT ME". If you have made your choice, click it and it will direct you to the appointment page.
- Page where you can make appointment with the service provider you chose. You need to enter your customer_id to finish the appointment. All the input columns need to be filled. Besides, If you are not a member, you cannot finish this process.
- If you successfully made an appointment, the details of the appointmet and contact information of the service provider will be shown on the screen. However, if you fail to fulfill all the appoinment registration requirements, an error message will be returned.
- Show all the infos (app_id, cus_id, own_id, own_name, cus_name, date, time, etc.)
- (Not finished) Ranking.
- You can choose to modify your service info at this page.
- You can add/update/delete your services here. Note there are a few constraints. If you violate any one of them, an alert message will be shown.
- You can sign up as a new member. Note: If you are not a member, you can't make an appointment.
- You can login in on this page.