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

Marina's project 1: My shopping list app #43

Open
wants to merge 65 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
b365d24
UserInput component created
Mannushka Nov 4, 2023
cbdc23a
Render ItemsList component
Mannushka Nov 5, 2023
28b11a4
input form modified, errors fixed
Mannushka Nov 5, 2023
c8bfedd
ItemsList component created, addItem function added
Mannushka Nov 5, 2023
d618e81
export of UserInput error fixed
Mannushka Nov 5, 2023
ddf5d60
export of UserInput error fixed
Mannushka Nov 5, 2023
7da5399
preventing empty input logic added
Mannushka Nov 5, 2023
0c8e5e3
delete item button + function added, edit button + checkbox created
Mannushka Nov 6, 2023
da6b7e1
toLowerCase() function added to inputValue
Mannushka Nov 6, 2023
362b5c7
display itemsList and editItem functions added
Mannushka Nov 8, 2023
ca55b6e
delete icon changed
Mannushka Nov 8, 2023
b4ba51c
react icons and popus libraries installed
Mannushka Nov 8, 2023
7e5a40f
basic css done
Mannushka Nov 11, 2023
38c010f
minor changes
Mannushka Nov 11, 2023
26d008d
input tags changed
Mannushka Nov 11, 2023
451b681
input tags changed, console.log deleted
Mannushka Nov 11, 2023
060ff80
react icons and popus installed
Mannushka Nov 11, 2023
87cb87c
function for crossing out the purchased items added
Mannushka Nov 12, 2023
9f0e861
logic for crossing out the purchased items added
Mannushka Nov 12, 2023
b74852e
logic for rendering items moved to a new component Items.js
Mannushka Nov 12, 2023
7a58f89
logic for rendering items moved to a new component Items.js
Mannushka Nov 12, 2023
5968792
changed backgroud, input field, button, items colors, added gradient
Mannushka Nov 12, 2023
03a0b62
bootstrap installed
Mannushka Nov 12, 2023
f5626a9
bootstrap installed
Mannushka Nov 12, 2023
2378b35
changed colors, cursor, commented out the input-field
Mannushka Nov 12, 2023
56881e7
added bootstrap container and stacks
Mannushka Nov 12, 2023
e0e044b
added bootstrap container, changed regular form to bootstrap form
Mannushka Nov 12, 2023
10893e7
edited the pseudocode
Mannushka Nov 12, 2023
f3eec3b
added container and input group
Mannushka Nov 12, 2023
eb2b165
local storage added, update and check item functions bug fixed
Mannushka Nov 14, 2023
2047345
clear all function and button added
Mannushka Nov 16, 2023
b9a44d8
checked property for the checkbox added
Mannushka Nov 16, 2023
0b2c8b3
margin breakpoints added
Mannushka Nov 17, 2023
e098adb
breakpoints added
Mannushka Nov 17, 2023
47dafc4
breakpoints added
Mannushka Nov 17, 2023
e7a1942
clear-all-button added
Mannushka Nov 17, 2023
a2eb6b0
initial-screen
Mannushka Nov 18, 2023
971b342
entering-item-name-into-input-field
Mannushka Nov 18, 2023
cb04011
item-added-and-displayed
Mannushka Nov 18, 2023
9d1086a
editing-item
Mannushka Nov 18, 2023
d340eda
editing-item-typo-fixed
Mannushka Nov 18, 2023
750e0e2
crossing-item-out
Mannushka Nov 18, 2023
cd10865
deleting-item.png
Mannushka Nov 18, 2023
7380a0a
item-deleted
Mannushka Nov 18, 2023
1d12dd1
erasing-all-items
Mannushka Nov 18, 2023
b688e63
all-items-erased
Mannushka Nov 18, 2023
42c6393
added my project info
Mannushka Nov 18, 2023
c531307
popups deleted
Mannushka Nov 18, 2023
61bd13c
popups deleted
Mannushka Nov 18, 2023
cd913e5
line 96: 1 replaced with 0
Mannushka Nov 18, 2023
025c2ea
old input css deleted
Mannushka Nov 18, 2023
48763d0
initial screen image added
Mannushka Nov 19, 2023
0eaa0f3
dependencies added, description edited, image removed
Mannushka Nov 19, 2023
4d8dc45
remove old code
Mannushka Nov 3, 2024
3ac7244
remove unnecessary div
Mannushka Nov 3, 2024
b52f6b8
remove redundant comments
Mannushka Nov 3, 2024
36ec2f4
fix errors
Mannushka Nov 3, 2024
8b1c400
add mapping of the items
Mannushka Nov 3, 2024
c131dc2
create one item component
Mannushka Nov 3, 2024
c5043a4
add comment
Mannushka Nov 3, 2024
b4c291c
add space
Mannushka Nov 3, 2024
ec31667
add homepage
Mannushka Nov 3, 2024
e958c0a
add margin for header
Mannushka Nov 3, 2024
a09227c
add code for deployment
Mannushka Nov 21, 2024
f7ed848
add installation and deployment info
Mannushka Nov 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,42 @@

https://bc.rocketacademy.co/1-frontend/1.p-frontend-app

## Available Scripts
# My shopping list app

This is a shopping list app that allows users to create, edit and delete a shopping list.
In this app, users can:

1. add new items to the list
2. edit an exsisting item on the list in case there is typo
3. cross out the item that has been purchased
4. delete an item from the list
5. clear the entire list, i.e. delete all items, in one click

## How to use the app:

1. Adding items: type the name of your item into the input field and click "Add item" button.
2. Editing items: click the item you wish to edit and type in the new name.
3. Cross items out: tick the checkbox next to the item.
4. Deleting items: click the trashbin icon next to the item.
5. Removing all items: click "Clear all" button.

All items are stored in the local storage, so when users refresh the page, they are still able to see the items they added/eddited previously.
However, upon clicking "Clear all" button, all items get erased from local storage. After the button has been clicked, if the user refreshes the page, the list will be empty.

## Requirements

To install and launch the app, you will need NodeJS v16+

Choose a reason for hiding this comment

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

How do I actually install the app?

Choose a reason for hiding this comment

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

You could also tell the reader how to install node


## Dependencies:

1. React
2. React-DOM
3. React-bootstrap
4. Bootstrap
5. React-icons
6. React-scripts

## Installation

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). In the project directory, you can run:

Expand Down
Binary file added all-items-erased.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added crossing-item-out.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added deleting-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added editing-item-typo-fixed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added editing-item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added entering-item-name-into-input.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added erasing-all-items.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added initial-screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added item-added-and-displayed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added item-deleted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading