Giter VIP home page Giter VIP logo

pizzaql / pizzaql Goto Github PK

View Code? Open in Web Editor NEW
690.0 690.0 73.0 3.12 MB

:pizza: Modern OSS Order Management System for Pizza Restaurants

Home Page: https://pizzaql.tech

License: MIT License

JavaScript 90.09% TypeScript 9.91%
apollo auth0 authentication babel database formik graphql javascript nextjs open-source order-management orders pizza pizzaql prisma react restaurant ssr styled-components

pizzaql's Introduction

Note: Please check the rewritten version of PizzaQL (currently WIP): https://github.com/pizzaql/next


PizzaQL

Modern OSS Order Management System for Pizza Restaurants.

Build Status XO code style style: styled-components

Open Collective Patreon

Goal

The goal of this project is to provide a modern and easy to use order management system with order placement form as well. You can track progress in our TODO list πŸ˜„

Docs

Please note, that we are currently preparing a new docs for PizzaQL. Stay tuned πŸ™Œ

Here ⚑

Screenshots

Order Placement Form Dashboard)

See more screenshots

TODO

Order Placement System

  • Basic Frontend
    • Production-ready Frontend (styles etc.)
    • Rewrite to Apollo Client
    • Use HTML5 form validation wherever possible
    • Implement prices
    • Online payments via Stripe
      • Rewrite online payments to use react-stripe-elements
    • Delivery time selection
      • Display delivery time based on current hour
    • Rewrite to @apollo/react-hooks
    • Rewrite to use react-hook-form
  • Working Backend
    • Creating orders
  • Thank you page
    • Ability to copy order id
    • Display simplified order id
    • Show time left to order delivery
    • Rewrite to @apollo/react-hooks

Order Management System

  • Login
    • Full security with Auth0
  • Basic Frontend
    • Listing orders
      • Rewrite to @apollo/react-hooks
      • Rewrite to GraphQL Subscriptions (WIP)
    • Ability to change order status
    • Ability to delete orders
      • Confirmation alert
    • Ability to manually add orders
    • Ability to delete all orders with 1 click
    • Ability to sort orders
    • Production-ready Frontend (styles etc.)
  • Working Backend

Documentation

  • Guides
    • Development
    • Production
    • Security
    • Deployment

Other

  • Rewrite backend to Prisma 2
  • Testing with Cypress.io
  • Integration with Algolia Places API (?)
  • Release a public demo (WIP)

(?) - unsure.

Technology Stack

Frontend:

Backend:

Sponsors

Digital Ocean
Sauce Labs

License

MIT

pizzaql's People

Contributors

reallinfo avatar xxczaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pizzaql's Issues

Update to Stripe 3

Currently, to handle the payment we are using the react-stripe-checkout package.

Unfortunately it looks like it is no longer maintained and because Stripe is going to deprecate the old checkout in September this year.

Because of that, we need to migrate to Stripe Elements.

Fix tests

Unfortunately because of the fact, that we are now using React Hooks in both the order placement from & the admin dashboard, some tests stopped working 😒

Upstream: enzymejs/enzyme#1938

window is not defined

Needs further investigation.

Description

When trying to authenticate, on the redirect page a window is not defined error appears. That's pretty common when using SSR, however PizzaQL's authentication flow was working well before, so I guess one of Next.js releases changed something important :/

Token Refreshing?

I really love this example app, thank you! It would be great if you could provide a solution for token refreshing. Auth0 will expire the tokens after 2 hours and the renewSession in Auth0 doesn't seem to be compatible with server-side code. How did you get around this? Is there a way to just disable token refreshing if it isn't really necessary?

logo contribution

Hello @xxczaki , I contribute to open source softwares by designing logos. For your the repo I have the idea of ​​an original logo in my mind. I would like to show you this if you have permission. what do you think?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.