zeke8402 / booking-app Goto Github PK
View Code? Open in Web Editor NEWLaravel 5.1 web application for booking appointments
Laravel 5.1 web application for booking appointments
I did every instruction step but there is error (500).
I was not aware of how fullCalendar.js worked during the database design, and rather than doing a few queries for each appointment to figure out the end time, I was thinking of modifying the appointments table to include end times for each appointment, that way it would be easier to populate the calendar for the admin.
The app currently distinguishes between dates and times, rather than taking advantage of the datetime type. This is becoming increasingly difficult as I am having to perform the ridiculous task of adding dates and times together to form datetimes, and it would seem for future extendability, refactoring the code now to use only datetimes seems ideal.
Currently, nothing happens when an appointment is submitted. Once we create the appointment in the database, we also have to consider any potential appointment overlapping that could happen on appointment dates before the created appointment, and ensure that no appointment can be created on any dates after the created appointment that would cause an overlap.
It looks like the index.php was taken out of public and moved up to the root of the project. What was the reasoning for removing this folder?
Hi,
Hitting http://localhost:8000/ shows "Select Package", that means there are no packages in database and users as well, I've checked my db, there are tables with name "packages", "users" etc but they don't have any data.
What I did:
1- Cloned zeke8402/booking-app
2- installed Composer
3- Changed my Db credentials in app/database.php
4- Migrate DB with php artisan migrate
Site is loading fine but it's showing "Select Package", Moreover at url "http://localhost:8000/admin" I can't login with username "admin" and password "admin"
Kindly let know do you have any dummy data to be imported in these table and how to do that.
Thanks
It has been brought to my attention that, for example an 8 hour service, booked 4 hours before the last available time of the day, should carry to the next day, and blank out the first 4 hours of that day. I plan on making this a boolean toggle, in case this feature is undesirable in other instances.
With the new method of dictating availability, we will allow 15 or 30 minute intervals (in a table for extensibility). We need to create a configuration area for this as well as potential other configuration variables, and allow the user to view and set these (starting with time intervals).
The app needs to be able to send an email to the customer, confirming their appointment, and also (possibly a setting we can turn off later) to the admin.
Hello @zeke8402 ,
I have upgraded this project to laravel 5.3 with fixing some minor issues. If you want to have a look let me know .
Thanks,
Shahin
I'm really excited to use your package. I tried to test it but the login doesn't work it gives me an error that the username or password is wrong.
Looks great buddy! I'm a bit short on time so just wondered if you had a demo available.
Thanks in advance.
Currently, if someone books an appointment on X, there is nothing stopping someone from coming along and booking an appointment an hour before X, which would cause a conflict. We need to iterate through the appointments and make sure that the package duration a user selects will not overlap with any appointments on any of the times displayed.
The app needs to have an admin backend to let the user dictate what days and at what times he is available.
The admin controller was never refactored to work with the new version of Laravel, this is my current to-do as it needs to be working in order for me to finish the date selection options for availability.
Are you not interested in it anymore?
I am already doing one validation with the customer database during a booking, to check to see if the customer already exists in the database, and there is many more areas in the app that need to have validation performed on them. This is going to get messy really fast, so a validator class will need to be implemented in the near future.
I want the availability to be able to be set by dragging the time on the calendar day (week view only?) and that would add the times based on the configuration variables for time interval. Seed includes 15 and 30 minute time intervals, so it would take start and end times of the selection and populate availability with those times in the interval set by the user.
I'm currently in a separate directory, trying to migrate the code to Laravel 5. I will probably flash the repo and add the new one when I'm done.
There is an issue with the new way of processing available days, it has something to do with the sqlToJsDate function in BookAppointment.blade.php. Currently fixing it now.
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.