andreidimaano / bobaful Goto Github PK
View Code? Open in Web Editor NEWBobaful is a local boba delivery business. This is the repository for the ordering website.
Bobaful is a local boba delivery business. This is the repository for the ordering website.
Create Modal for Menu Item Popout
:)
hide mongoDB URL
https://nextjs.org/docs/getting-started
If user adds to cart, add checkout button on the bottom of the page
id does not show up in createItem resolver
I just want the project to be well-documented for future use, that way during behavioral interviews we know exactly what we did with the project and can explain the tradeoffs we made and the technologies we used :)
We need to automate the menu display process.
Create functions for the query resolvers
Products represent the boba drinks
Fan fav & chef fav are defined by Bobaful
List of Products:
https://www.instagram.com/stories/highlights/17890854553494681/
Item as in shopping cart item
Frontend:
Backend:
We will use twilio to notify a user that their order has been placed, shipped, and delivered
Order object needs to have shipping progress added.
Current Navbar needs better color, and hamburger menu interaction
Boba photo, product name, description, setState()
installation:
Dependencies:
DevDependencies
npm init -y
npx tsc --init
install the following packages:
Dev Dependencies:
typescript
ts-node
ts-node-dev
nodemon
@types/node
Change the scripts:
"scripts": {
"start": "node build/index.js",
"build": "tsc --build tsconfig.json",
"dev": "nodemon --exec ts-node src/index.ts"
},
Add boba images to all products
Name
Email
Phone
Password
Array [Order]
update description: takes new description and either (name or id) as parameters. update the description of product
update favorite: takes a bool as a parameter and updates the product chefFav or fanFav
We will use stripe API to handle payments
use the menu on instagram and add it to the database as a product
Images are not showing up
Create Menu Items for boba
Add README.md in backend/resolvers that explains new GraphQL references
Create NavBar for website
When creating delete mutations get rid of all dependencies
User Query returns a password
We need resolvers for adding or deleting an item in the items array.
We'll pass in an Item id as a parameter
AddItem(item id)
RemoveItem(item id)
Figure out how to Create a Product Object using TypeORM
Product has ounces and price but Ounces and Price should be independent of a Product. This simplifies the product interface and creates a better abstraction. Item will now act as a Decorator to the Product class. Before, we needed to add a Thai Tea with 32 oz, a Thai Tea with 64 oz, and a Thai Tea with 128 oz to the database. Now, we will no longer need to add 3 Products for every menu item.
TLDR:
We need to transfer ounces and price to Item object
Item: quantity, product, price, ounces
Product: no longer has price and ounces
the following resolvers need to be fixed:
Item
Order
User
References need to be parsed
After Creating a modal, refactor the code into a reusable component
Create an ordering form in modal
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.