Skip to content

Kisuke-CZE/table-reservation

 
 

Repository files navigation

Table Reservation - Wordpress Plugin


Table Reservation

Pick a place!

True Emotions Studio

Table of Contents

Introduction 👋

This plugin allows users quickly book a table in your cafe or make a restaurant reservation. Also it can be used for coworking, internet cafe (cybercafe) and night club.

Features 👓

A few of the things you can do with Table Reservation:

  • Selectable tables for reservations
  • THERE ARE NO COLLISIONS, i.e. one table can't be reserved by different people simultaneously.
  • Comfortably add, edit, delete or reject reservations from Wordpress dashboard
  • Email notifications about reservation (both for admin and guest)
  • Customisable colors, date/time format and all notification mails about reservation
  • Each field of reservation form is easily translatable into the required language
  • Well-thought-out mobile usability in the field
  • WPBakery(Visual Composer) compatible

Feedback 🙋

Feel free to file an issue. Feature requests are always welcome.

Build Process 🔨

  • Clone or download the repo
  • Put it in wp-content/plugins/ (preferably on a locally deployed server with wordpress)
  • Go to table-reservation/tremtr (here is front-end web app on Vue js)
  • npm install to install dependencies
  • npm run dev to start develope app
  • Activate plugin inside WordPress and create a new table
  • Now you can modify the Vue Js code and immediately watch how it will work in Wordpress

Build Production Version of Plugin

  • npm run build to build front-end part of plugin
  • Copy JS files from ./tremtr/dist/static/js to ./assets/js
  • Open table-reservation.php in plagin's root and comment
  wp_register_script( 'tremtr-app', 'https://localhost:8080/app.js' , '', '', true );
  • In the same place uncomment and rename next lines
            // wp_register_script('tremtr-manifest', TREMTR_PLUGIN_URL . '/assets/js/manifest.6a98d09897ee4023cfac.js', array(), '1.0.0', 'screen, all');
            // wp_register_script('tremtr-vendor', TREMTR_PLUGIN_URL . '/assets/js/vendor.27bdc60e48dd445d7732.js', array(), '1.0.0', 'screen, all');
            // wp_register_script('tremtr-app', TREMTR_PLUGIN_URL . '/assets/js/app.5ba64ddd460771627e94.js', array(), '1.0.0', 'screen, all');

Contributors 💪

This project follows the all-contributors specification and is brought to you by these awesome contributors.


Ivan Novikau

💻💬🤔

Helen Novikava

🎨🤔

Alexey Novikau

💻🤔

Alessandro Crolla

💵

Sponsors 💰

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. Become a sponsor

License 📄

GPL-3.0 License

Releases

No releases published

Packages

No packages published

Languages

  • CSS 57.7%
  • JavaScript 16.9%
  • PHP 15.2%
  • Vue 7.6%
  • HTML 2.6%