Skip to content

Random topping generator for people who love pizza but are too hungry to decide which toppings they want.

License

Notifications You must be signed in to change notification settings

paryswest/_pizza-generator

Repository files navigation

Too Hungry to Decide

A random topping generator for all pizza lovers alike! If you love pizza, this app is surely something that you'll....wanna sink your teeth in to. Vegetarian Friendly! 🥬

Link to project: https://pizza-generator-api.herokuapp.com/ Please note that as of right now, this application is only desktop friendly, but we are working to make this application mobile responsive!

How It's Made:

Tech used: HTML, CSS, Figma, JavaScript, Node.js (Express.js coming soon!)

A full stack application using a Node server to retrieve the information that is then displayed on the UI which was styled with basic HTML and CSS. The challenge was to create a server bare-bones (no frameworks or anything of that nature), so this is how the project was created. We implemented the base modules in order for this application to run server-side (http, fs, url, querystring) and even figlet (for the default 404 page). The server was created using the .createServer method and inside, since there were so many toppings to iterate through, a switch statement was used to cover the various amount of toppings (created in Figma) that were to be shown on the actual pizza. A function containing the names of the specified toppings were put in to arrays and following that, depending on the amount of toppings that are entered on the UI, that number of toppings will appear. This operation was handled with a combination of "if-else" and "while" statements. Improvements can definitely be made in this area, which the plans is to do later on.

Optimizations

  • We plan to refactor the back end using Express.js for readability and efficiency.
  • Style and design may be changed just for better visual appeal.
  • Could possibly be revised in to a React project since this project is more involved.
  • Make it responsive as it is only compatible with browsers at the moment, not mobile devices and smaller screens.

Lessons Learned:

Quite a few things were learned in this project. For one, we learned that Github version control was super important for handling forks from each contributor and we learned shortcuts insofar as how to use Git version control more effectively overall. Secondly, we learned the reason WHY express is a neccessity, as this was quite the challenge to complete with just bare-bones node.js. Finally, we learned about the importance of communicating with each other effectively, especially when changes were being made. We all listened to each other's inputs and reasonings, and we provided feedback whenever a member of the group needed it.

Contributors:

  • Parys West:
  • Julien Mellon:
  • Gabriel Rodriguez:
  • Nimesh Jagota:
  • Keith Gregory:
  • About

    Random topping generator for people who love pizza but are too hungry to decide which toppings they want.

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Contributors 4

    •  
    •  
    •  
    •