An open API service indexing awesome lists of open source software.

https://github.com/mcrd25/basic-restaurant-page

Created restaurant page using ES6 classes and modules
https://github.com/mcrd25/basic-restaurant-page

Last synced: 6 months ago
JSON representation

Created restaurant page using ES6 classes and modules

Awesome Lists containing this project

README

          

# Basic Restaurant Page using JavaScript ES6 to Render
Created restaurant page using ES6 classes and modules.
I am aware of the ongoing argument of whether to use classes or ModulePatters/Factories.
This project is purely for academic purposes and I have not personally come to a concusion on matter but I do prefer the use of Module Patterns/Factories currently as it is portrays how JavaScript Objects work better than classes do.
Read [this article](https://medium.com/@rajaraodv/is-class-in-es6-the-new-bad-part-6c4e6fe1ee65) for more info on pros and cons of using Classes in JavaScript.
Another useful resource is [Object Playground](http://www.objectplayground.com/).

## Webpack
This application uses Webpack and so you must make all changes to JS files in src and run webpack using `npm run build`, `npm run dev`, `npm run watch` etc.

The source JavaScript code would be compiled into the `dist` folder's main.js file.

Before doing anything you must first run following command to install all npm packages this project depends upon.
`npm install`

## Deployment Page
Dev version of page is deployed here: https://raw.githack.com/mcrd25/basic-restaurant-page/restaurant-page/dist/index.html
Production version of page is deployed here: https://mcrd25.github.io/basic-restaurant-page/

## Contributors
### Maya Douglas ([@mcrd25](https://github.com/mcrd25))
#### Social Links
* [Twitter](https://twitter.com/mcrd25)
* [LinkedIn](https://www.linkedin.com/in/mayadouglas/)