GithubHelp home page GithubHelp logo

lets-order's Introduction

Create T3 App

This is a T3 Stack project bootstrapped with create-t3-app.

What's next? How do I make an app with this?

We try to keep this project as simple as possible, so you can start with just the scaffolding we set up for you, and add additional things later when they become necessary.

If you are not familiar with the different technologies used in this project, please refer to the respective docs. If you still are in the wind, please join our Discord and ask for help.

Learn More

To learn more about the T3 Stack, take a look at the following resources:

You can check out the create-t3-app GitHub repository โ€” your feedback and contributions are welcome!

How do I deploy this?

Follow our deployment guides for Vercel, Netlify and Docker for more information.

lets-order's People

Contributors

namdien177 avatar namdh3-smartosc avatar

Watchers

 avatar

lets-order's Issues

[Feature Request] Group Order's member

Allows a group order to display its membership correctly.

With the owner:

  • The owner can view all the members of the group.
  • The owner can invite any guest to the group by using email.
  • The owner can kick any member out of the group.
  • The owner can create a joining code.
    • There is 1 joining code for a group (for now)
    • The owner can remove the joining code.
      • If there is no joining code, there will be no invitation link.
  • The owner can view the member joining request.
    • And the member who created the joining request.
  • The owner can approve the member joining request.
  • The owner can decline the member joining request.
  • The owner can disable the joining request feature.
  • The owner can still invite the guest to the group when the joining request feature is OFF

With the members:

  • Members can view all the members of the group.
  • Members can invite other users to the group by using the joining code
    • If there is no joining code, members cannot create an invitation link.
    • An invitation link can be reused many times.
    • Each invitation is associated with a member_id (of the person who created the invite).
  • Members cannot invite other users by email.

Enhancement:

  • The owner can blacklist any user from joining the group (by using email)

[Feature Request] Group Order's menu items

Allows a group order to have a menu of items. The item must have the following attributes (for now):

Attribute name Type Description Required
id bigint ID of the product yes
name string(60) Name of the item yes
description string(255) Description of the item
price bigint Price of the item (in smallest unit) yes
original_id bigint Reference the previous version of the product item
updated_at timestamp The timestamp when the owner updated the item. Once it's updated, it's no longer shown for the member to see.

With the owner:

  • The owner can create an item in the group.
  • The owner cannot physically delete the item.
  • The owner cannot update the item directly.
    • Each item is a hard copy once it's referenced in a bill.
  • If the owner updates an item, it will create a new one and:
    • Reference the previous version
    • Hide the previous version

With the member:

  • The member can the item information.
  • The member can check if they have ordered the item previously.
    • It doesn't care if what they ordered was the older version or not, just display the amount of time they have ordered this.
  • Allows the member to rate the item.

[Feature Request] Membership request

Basic requirements:

  • Each invitation link is based on the invitation code provided by the owner of the group.
    • If the owner doesn't set the invitation code -> no invitation link is valid.
    • If the owner changed the invitation code -> all invitation links created previously will be invalid.
  • The invitation link doesn't have an expiration time (as long as it's still associated with a valid invitation code).
  • Each invitation should be associated with a member who creates it
    • If not having an associate member, it will display as a dangerous joining request.
  • If the invitation comes from a member when the joining via request feature is disabled:
    • The invitation will be marked as not available right now.
    • No joining request is created.

A guest can request to join a group order via:

  • Public:
    • Discover page -> Create a direct join request
  • Other cases:
    • Email invite:
      • From the owner -> Approve the direct join.
      • From the member -> Create the direct join.
    • Invitation link -> Create direct join.

Exception cases:

  • User is blacklisted:
    • Email invite from the owner: Not able to direct join -> display as expired request
    • All other cases: Display as you are not allowed to join the group.

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.