Coder Social home page Coder Social logo

chelmerrox / capstone-2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.15 MB

The Tasty Dishes site where users can view, like & comment on their favorite dishes. Built with HTML, CSS, vanilla JavaScript, Webpack, Meals API & the Involvement API.

Home Page: https://raw.githack.com/chelmerrox/capstone-2/main/dist/index.html

JavaScript 62.27% HTML 5.88% CSS 31.85%
api collaborative css3 git-flow github-actions html5 javascript meals microverse node-js npm pair-programming remote webpack tasty-dishes

capstone-2's Introduction

Tasty Dishes

The Tasty Dishes site that users can view, like & comment on their favorite dishes. Built with HTML, CSS, JavaScript, Webpack, Meals API & the Involvement API.

Built With

  • HTML5
  • CSS3
  • JavaScript
  • Webpack
  • Meals API
  • Involvement API
  • Postman
  • Jest
  • JestDom
  • CommonJS
  • Git
  • Medium fidelity wireframe

Preview

Website preview

Live Demo

Live Demo Link from ./dist/index.html

Video Presentation

Our Video Presentation

Getting Started

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

Prerequisites

  • HTML5 & CSS3
  • JavaScript
  • Webpack
  • VSCode (or any other text editor)
  • Git
  • GitHub
  • Command line/Terminal

Setup

From the command line, do the following steps below:

  1. Clone the projects' repository into your machine.
# Clone this repository
$ git clone [email protected]:chelmerrox/capstone-2.git
  1. Change directory/Go into the repository with the command below.
$ cd capstone-2
  1. Run this command.
$ npm run build
  1. Run this to deploy the site on your local machine.
$ npm start

Instructions to disable CORS/Web security to see the site

  1. For Windows OS & Google Chrome Browser, open your Windows Command prompt

  2. Navigate to the file path where chrome.exe file exists

    a. Either in this file path

    $ C:\Program Files (x86)\Google\Chrome\Application
    

    b. Or this file path

    $ C:\Program Files\Google\Chrome\Application
    
  3. To disable CORS & Web security to be able to see the site, run this command in the CMD. It opens a new unsecure instance of Google Chrome browser.

$ chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security
  1. Paste in the url of the site in the new unsecure instance (new window) of Google Chrome. (Use either the local host or the live version url provided)

Author

๐Ÿ‘ค Losalini Rokocakau

Collaborators

๐Ÿ‘ค Shakhrizoda Yusupova | GitHub: @shyusu4

๐Ÿค 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

๐Ÿ“ License

This project is MIT licensed.

capstone-2's People

Contributors

chelmerrox avatar shyusu4 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

capstone-2's Issues

[4pt] -Display Comments pop up with selected item's details - Student B

Create a comments popup only with the top section (displaying details of the selected item)

Screenshot 2021-06-27 at 22 10 45

When the popup loads, the webapp retrieves data from the selected API and shows details about the selected item.

Add event to button prepared by your teammate that will open your popup. You need to communicate with your team member to make sure that you do not block each other (most likely the easiest solution is to merge the list of items feature to the dev branch before you try to add that event).

[4pt] - Display list of items on the Homepage - Student A

Create the main part of the homepage that keeps the layout from the wireframe:

Screenshot 2021-06-27 at 21 50 23

When the page loads, the webapp retrieves data from the selected API and shows the list of items on screen with the basic data (e.g. title + image).

Prepare also "Comments" and "Reservations" buttons. They should be doing nothing - just being displayed.

This task does not include displaying the number of likes for each item.

This task does not include the counter of the items.

[3pt] - Add comments counter - Student B

Even if the API gives you the number of comments you will create a specific function to calculate it.

Make sure that the correct number is displayed on the Comments pop up.

[0.5pt] Find external API - group task

Find an API to base the development of the webapp around it. The API should allow you to

  • Get a list of items with a unique item id (or generate the unique id).
  • For a given item, get detailed information about it.
    choose an APIs that doesn't need authentication. if you select an API that requires authentication, you should implement it on your own. Also, if you select an API that provides image resources your webapp will be more visual.

[4pt] - Display Reservations pop up with selected item's details - Student C

Create a reservations popup only with the top section (displaying details of the selected item)

Screenshot 2021-06-27 at 22 10 45

When the popup loads, the webapp retrieves data from the selected API and shows details about the selected item.

Add event to button prepared by your teammate that will open your popup. You need to communicate with your team member to make sure that you do not block each other (most likely the easiest solution is to merge the list of items feature to the dev branch before you try to add that event).

[3pt] - Add reservations counter - Student C

Even if the API gives you the number of reservations you will create a specific function to calculate it.

Make sure that the correct number is displayed on the Reservations pop up.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.