E Meal
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.
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.
- HTML
- CSS
- Javascript
- Webpack
- API
Please find project requirements here.
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;
To get a local copy up and running follow these simple example steps:
👤 Ezea Stephen Nnabuike
- Have a good knowledge on how to parse UI designs
- Have VSCode or other text editor installed. Link to download VSCode
- Install node package. Link to download node
- Have git installed.Link to download git
- Create a github repository.
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
For tracking linters errors locally, you need to follow these steps:
- For tracking linter errors in HTML file run:
npm install --save-dev hint@6.x
npx hint .
- For tracking linter errors in CSS file run:
npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x
npx stylelint "**/*.{css,scss}"
- For tracking linter errors in Javascript file run:
npm install --save-dev eslint@7.x eslint-config-airbnb-base@14.x eslint-plugin-import@2.x babel-eslint@10.x
npx eslint .
- Consume the API Follow this Link
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code and idea was used was used
- Inspiration
- etc
This project is MIT licensed.