Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final #26

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open

Final #26

wants to merge 34 commits into from

Conversation

AbdifatahYasin1
Copy link
Owner

@AbdifatahYasin1 AbdifatahYasin1 commented Jan 14, 2023

This project is about meal web API . it has like and comment features.

Copy link

@EricMbouwe EricMbouwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @AbdifatahYasin1,

Good job so far! 🔥
You still need to work on some issues to prepare your project for the final evaluation, but you are almost there!

Suggested changes ♻

Check the comments under the review.

Please feel free to use as many of my suggestions as you want. If there is anything you would like to skip - feel free to do that. However, I strongly recommend you take them into account as they can make your code better._

Cheers and Happy coding!👏👏👏

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

package.json Outdated
Comment on lines 22 to 31
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.27.4",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^21.0.0",
"stylelint-scss": "^3.21.0",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • It would be good to add all the necessary dependencies to run the app. We actually need the webpack dev server and it is missing here.

Screenshot 2023-01-14 at 11 42 09 AM

  • Let's add this line in devDependencies
  "webpack-dev-server": "^4.11.1"

package.json Outdated
Comment on lines 33 to 36
"dependencies": {
"html-webpack-plugin": "^5.5.0",
"jest": "^29.3.1"
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • As mentioned above all necessary dependencies are required in the package.json, which will help install everything needed when setting up the app with the npm install command

Screenshot 2023-01-14 at 11 47 57 AM

  • Let's add these lines in dependencies
    "css-loader": "^6.7.3",
    "style-loader": "^3.3.1"

Comment on lines +12 to +21

describe('Comments Length', () => {
test('Counts the number of comments in array', () => {
expect(displayCommentsCounter(comments)).toBe(5);
});

test('Counts the number of comments in array', () => {
expect(displayCommentsCounter(comments)).not.toBe(6);
});
});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The tests are not running are expected, we still have a dependency issue. As mentioned above, let's add it

Screenshot 2023-01-14 at 12 26 51 PM

  • Let's add this line in devDependencies
  "@babel/preset-env": "^7.20.2",

Copy link

@EricMbouwe EricMbouwe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @AbdifatahYasin1,

In my opinion, your project is ready for presentation! ⚡🔥 There is nothing else to say other than... it's time to merge it :shipit:

Good luck! 🎉

Feel free to leave any questions or comments in the PR thread if something is not 100% clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants