Skip to content

The E Meal is a prototype of a single page dynamically created web application that allows users to like, comment, and make a reservation for their favorite meal. When the page loads, the data is fetched from an API and get displayed on the web page By clicking on the `like button` the number of like is increased and stored in the involvement AP…

Notifications You must be signed in to change notification settings

stephnna/e-meal

Repository files navigation

Project Name

E Meal

The Meal DB

The Meal DB web application displays a list of meals that were provided by an external API. The users can like a meal, leave some comments or make a reservation, in these cases an involvement API was used Involment API.

Project Objectives

Use JavaScript to make websites dynamic and build basic single page apps. Use ES6 syntax. Use ES6 modules. Use callbacks and promises. Use webpack. Apply JavaScript best practices and language style guides in code. Use AAA pattern for unit tests. Write units tests for a JavaScript app. Follow Gitflow. Solve simple git conflicts. Send and receive data from an API. Use API documentation. Understand and use JSON. Make JavaScript code synchronous.

Built With

  • HTML
  • CSS
  • Javascript
  • Webpack
  • API

Project requirements

Please find project requirements here.

Screenshot

screenshot

How it works

The Meal DB web application allows users to like, comment, and make a reservation for their favorite meal.

  • By clicking on like button the number of likes is increased and stored in the involvement API;
  • By clicking on the Comment button to display the description of the selected meal, the list of all comments, and added a new comment;
  • By clicking on the Reservation button to display the list of all reservations and make a new Reservation;

Live Demo

Live demo here

Getting started

To get a local copy up and running follow these simple example steps:

Authors

👤 Ezea Stephen Nnabuike

Prerequisites

Setup

  • https://github.com/stephnna/e-meal.git
  • cd e-meal/
  • npm install
  • npm run build
  • npm start

-Follow the HTML-CSS linter confuguration to docs to setup linters Link to Microverse linter docs

Run tests

For tracking linters errors locally, you need to follow these steps:

  • For tracking linter errors in HTML file run:
  1. npm install --save-dev hint@6.x
  2. npx hint .
  • For tracking linter errors in CSS file run:
  1. npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x
  2. npx stylelint "**/*.{css,scss}"
  • For tracking linter errors in Javascript file run:
  1. npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x
  2. npx eslint .

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • Hat tip to anyone whose code and idea was used was used
  • Inspiration
  • etc

📝 License

This project is MIT licensed.

About

The E Meal is a prototype of a single page dynamically created web application that allows users to like, comment, and make a reservation for their favorite meal. When the page loads, the data is fetched from an API and get displayed on the web page By clicking on the `like button` the number of like is increased and stored in the involvement AP…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published