habernet / project-2 Goto Github PK
View Code? Open in Web Editor NEWProject 2 Group 1
Project 2 Group 1
Create an endpoint for /carryout so that when that. page is loaded, it is populated with a menu that draws from every item in our DB under the items table.
Receiving name, phone number.
Order number auto increment.
Create an endpoint for the /dinein route.
This will query our DB and return all reservations.
It will pass the response to handlebars for rendering on the page.
updated main page with divs and working buttons routing to the correct locations. updated collapsable footer (to add more information in the drop down box)
Make sure it is connected with Heroku and deployed.
app.get("/api/tables")
app.get("/api/waitlist")
app.post("/api/tables")
models
table, waitlist
populate cards with img url from the db
This refers to the dine in section and the functionality as far as the data folder goes.
Have it seed 3 tables, for dev purposes.
Add a console log apiRoutes
Create api/x delete routes for future use.
We haven't created a POS system yet that a manager/owner would use.
When that happens these routes will be used frequently.
change items as cards instead of rows
Updating main page, in views--index handlebars.
Style the menu page to make it look better
Creating a page that displays menu with quantity button
created a sample hbs without table data and working on js logic to add it to the cart div
Just to show them what the button does...if it's not readily apparent.
Make the reviews a carousel using slick.
I will create a seeds.js file and in that I will have code to go to our DB and seed it with three records.
I will change the script in the package.json so we can easily seed our DB.
Also I will change one line in the gitguide, so that we all remember to do a pull before do a push.
Add validate fields for all models (seqeulize)
Add edit button in the modal before placing the order!
Add a URL, add it to our seeduser.js bulk create method.
Create a reservations model with name and numberinparty.
Name and review.
Create seed script.
Populate the seeds.sql for the items table.
Write a route for the buttons to use AJAX to call to...they should be sent parameters so that they can be returned information based on those parameters.
I.E. they should be sent a menu item and then that will be used to call to the DB and return it the record in JSON format.
instead of hover used
This needs to pull everything from tables and waitlist tables and send them to handlebars for rendering.
I will be deleting some of the boiler plate code so that we can write out models/schema/seeds/ etc ourselves. This way we can also serve up HTML pages without needing to bring in data just yet.
We will do that eventually, but we need to create this app concurrently and there are some nuances that need to be discussed before we get to that part.
Add modal window when review button is clicked in the item card(menu page)
I am working on table reservations in a text file, Depending on the route we take I can eventually up load it to our development page. This will have rows of reservations and JS. will have first name, email, phone number.
Nothing is rendering on the page because it is all under callbacks from DB functions...we want to setup an example database and seed it..this way we can see what the boiler plate stuff is doing.
Then we will create issues to change the boiler plate views and database.
This will create a record in the DB from the order details that were sent from the front end.
It will return to the front end the entry that also includes the auto incremented number.
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.