https://github.com/crofrank/next.js-13-reservation-starter
Nextjs13 app starter where you can check availability and make reservation
https://github.com/crofrank/next.js-13-reservation-starter
booking nextjs13 prisma-orm reservation-system reservations starter-kit
Last synced: 3 months ago
JSON representation
Nextjs13 app starter where you can check availability and make reservation
- Host: GitHub
- URL: https://github.com/crofrank/next.js-13-reservation-starter
- Owner: CroFrank
- License: mit
- Created: 2023-10-23T18:11:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-17T14:59:10.000Z (over 1 year ago)
- Last Synced: 2025-01-29T17:15:43.843Z (4 months ago)
- Topics: booking, nextjs13, prisma-orm, reservation-system, reservations, starter-kit
- Language: TypeScript
- Homepage: https://next-js-13-reservation-starter.vercel.app/
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## About
In this app you can check in European format calendar if some date is avaliable.
When you pick a date you are sending request to server _(/api/serach/route.ts)_
that will check in database if that date is available.If not you will be notified about that and you can try with another date.
When you find avaliable date you can make reservation by sending POST request
to the server _(/api/reservation/route.ts)_ with basic info (name, email, phone).After that, date you made reservation for is no longer available.
### Techs
> - Framework - Next.js v13
> - Language - TypeScript
> - Database - Postgres
> - ORM - Prisma
> - Hosting - Vercel
> - Styling - TailwindCSS### Extra
I was using Docker or Vercel storage for postgres db location you can pick your own
and don't forget to set .env variable DATABASE_URL=''This code is my first version so I still didn't add backend validation (I will use zod)
and project structure may not be best but it can help you out as an idea of how to do
some reservation logic.### Contributing
Contributions are welcome! If you find any issues or want to enhance the application, feel free to open an issue or submit a pull request.
### License
This project is licensed under the MIT License. You can do whatever you want with this code.
### Contact
If you have any questions feel free to ask [here](https://www.weblifesupport.com/)