Giter Site home page Giter Site logo

project-2's People

Contributors

abhinayaa1787 avatar habernet avatar tim-garner avatar

Stargazers

 avatar

Watchers

 avatar

project-2's Issues

Create an endpoint for /carryout

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.

.get route for /dinein

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 mainpage/buttons

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)

Delete routes for future use

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.

Main Page

Updating main page, in views--index handlebars.

Creating menu hbs

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

Carousel!

Make the reviews a carousel using slick.

Create a seed script and add it to the package.json.

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.

Create an API route for the review buttons

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.

HTML Route for /dinein

This needs to pull everything from tables and waitlist tables and send them to handlebars for rendering.

Delete the boiler plate code so we can build some of it ourselves.

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.

modal for reviews

Add modal window when review button is clicked in the item card(menu page)

Table Reservations

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.

write the post route for /api/orderdetails

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.

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.