Skip to content

BurgerNaut is a Full Stack CRUD burger app that allows you to input a burger, eat it, and then delete it!

License

Notifications You must be signed in to change notification settings

dan-gentile/burgernaut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

astronaut eating burger

BurgerNaut

Contents Last-Commit License

Description

ezgif com-gif-maker

BurgerNaut is a Full Stack, CRUD web application that allows the user to input a burger they'd like to eat, then eat it and then throw it in the trash. The server is built using node, express and handlebars(for templating) and custom built ORMs. The database is built using MySQL and front end Javascipt using jQuery. Styling with CSS. This app is fully mobile responsive.

Check it out! https://burgernaut.herokuapp.com/

Table of Contents

Technologies

Installation

Nothing to install! To use the app please click on the link below!

https://burgernaut.herokuapp.com/

Screen Shots

-- Landing Page --
Landing Screenshot

-- Full Rendered --
Full Rendered Screenshot

-- Mobile --
Mobile Screenshot

Code Snippets

Routing to update burger status

router.put("/api/burger/:id", function(req, res) {
    let condition = "id = " + req.params.id;

    burger.update({ eaten: req.body.eaten }, condition, function(result) {
        if (result.changedRows == 0) {
            // If no rows were changed, then the ID must not exist, so 404
            return res.status(404).end();
        } else {
            res.status(200).end();
        }
    });
});

License

This license is MIT

Copyright (c) 2020 Dan Gentile

Contributing

  1. Clone repo and create a new branch:
$ git checkout -b name_for_new_branch.
  1. Make changes and commit:
$ git add . 
$ git commit -m "made changes"
  1. Push to the branch:
$ git push
  1. Submit Pull Request with comprehensive description of changes

Questions

If you have any questions and would like to get in touch please email me! email: dangentile@ymail.com

About

BurgerNaut is a Full Stack CRUD burger app that allows you to input a burger, eat it, and then delete it!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published