How to verify online reservation user and inform admin via email?
HI, currently I am developing online simple taxi booking system using Laravel. actually it is basic reservation system. it is functionality like following,
users booking taxi over website
then user receiving conformation email to users email
then user logged with the system and confirmed by clicking on the link to verify user email
after confirm admin receiving email including users booking details.
actually I do not use any database for these process. I like to handle those posses via emails? I allready have developed email verification system to register users. but in this app there are no need users registration. any way I have following questions here
is this ok to develop without database
2.if you already know some tutorials same to this matter please send me those resources links also.
1.) Yes it is perfectly fine to work without a database. But in your case for step 3 you would need something to store the confirmation/verification code(?) otherwise there's nothing to verify against.
2.) I do not know of tutorials for this specific case. You could start with a google search on "Laravel booking system" or "Laravel reservation system". My guess would be they all use some kind of database to store some information.
It's quite easy if you know the basics of PHP and Laravel, so I'll advice to watch a few videos.
Get into it for a few hours or days, then develop this app.
The only thing you would need to think about is how you want to store those verification codes since you don't use a database. You can actually do SQLLITE which doesn't require a whole database server but its just a simple file which laravel already supports.
As mentioned you will need some form of storage for your tokens and a database would be what I would use. Depending on the number of requests you expect sqlite will probably be easiest to get started with.
There is a good tutorial from tighten on passwordless authentication