beauraines / dog-walker Goto Github PK
View Code? Open in Web Editor NEWScheduling software for a dog walking service
License: MIT License
Scheduling software for a dog walking service
License: MIT License
As a Client, I want to be reminded to add Pets if I don't have any setup so that my Bookings will display accurate information.
As a Client, I want to be able to edit only my Pet's information to prevent unwanted changes
The backend validation (form request?) should ensure that the user Pet belongs to that user prior to making a change.
As a Client, I want to be able to see the information about my pets so I know that I communicate accurate information to my walker.
To latest Laravel version
Logic to process query strings which contain with
values
Scale and abstract this code.
Should also recurese into the relationships to test for validitity.
Maybe this can help test relationships https://stackoverflow.com/questions/21615656/get-array-of-eloquent-models-relations
Or what ever triggers the https://laravel.com/api/6.x/Illuminate/Database/Eloquent/RelationNotFoundException.html
As a user, I want to be able to see the price for each booking so I know what I'm expected to pay.
Assuming the logic for computed price is correct, this is fairly straight forward. The computed price
will have to be appended to the data returned... optional query scope maybe or model attribute to append?
Ability to maintain services via API
As a Staff member, I want to be able to track which Bookings have been paid for so I can ensure that I get paid for all scheduled bookings.
As a client, I want to know when creating a booking if there will be someone available so I don't create invalid bookings.
Add CRUD for Unavailability
Model
Unavailability
shows when a Staff member is unavailable, by date.
As a Client, I do not want to be able to create invalid Bookings, so I only have good data.
Invalid bookings include
Maintain and display service prices
Add prices to booking
Allow for customer specific override
Add Cancelation fee
Switch away from the token authentication so that the user
object doesn't have to be passed to every Vue component that is going to make an API call.
Authorization: 'Bearer ' + this.user.api_token
probably isn't neededprop
Add bootstrap vue dependency
Revise booking component confirmation https://bootstrap-vue.js.org/docs/components/modal/#confirm-message-box
As a staff member, I want users to be able to pay me via a paypal.me link
As a Client, I want to be able to enter my mobile phone number so that the Staff can get in touch with me and I can receive SMS notifications.
Add check for $request->wantsJson()
in the update and store methods and provide the blade or API response as needed
As a staff member, I want to be able to override the computed cost of a Booking so I can charge the customer a reasonable amount of money for the booking
As a user, either Staff or Client, I want to see my bookings in a calendar view, so i can consume the data in a more intuitive fashion.
Add https://github.com/tkeer/mailbase?ref=laravelnews in order to better support development of emails
Add logic to handle query strings like GET api/booking?user_id=4
As a Staff member, I want to be able to enter and maintain my unavailable dates to prevent Clients from booking on days when there is no one available to serve them.
Ability to maintain Pets model via API
Phone numbers, emails, residence location
As a client I would like to create a week's worth of bookings in one screen to streamline the booking entry.
On one screen, the client would pick the service, the days and then click submit once, creating all the bookings for that week.
Or do we leverage obiefy/api-response
As a staff member, I want to see the client's and pet's names in the booking. As a client, I only want to see the pet's name, in the booking.
BookingController
to properly handle dot notation for relationships, e.g. client.pets
Maybe it only verifies the first relationship, but not the chained ones...dog-walker/app/Http/Controllers/BookingController.php
Lines 23 to 33 in 133509e
Move existing create new booking process to a Vue component.
As a Staff member, I want to be able to add and update Services.
Services should not be allowed to be deleted, but inactivated.
As a Staff member, I want to be able to set the price for a service so I can accurately charge my customers.
Add logic to base controller to process query scopes in query strings
Scale and abstract this
dog-walker/app/Http/Controllers/BookingController.php
Lines 35 to 45 in 0d35cd6
As a Staff member, I would like to be able to create Bookings for Clients so that I can ensure there is accurate information in the schedule.
Notes
Improve layout
Separate columns for pets
Its un-needed.
When registering a new client, the API token is not created
As a Client, I want to be able to store and edit the location for service so that the walker can get here.
Location
model and tableLocationController
and LocationRequest
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.