shop's People
shop's Issues
ability to add products to shopping cart
add functionality for product button to add that product to a cart (there is a context for that)
replace context for shopping cart with reducer
add page for sports
we want display list of sports.
each sport card must include:
- sport name
- icon representing that sport (can be something - we dont have graphic designer ;P)
- number of products for this sport
after clicking one of them page should navigate user to the page with selected sport items.
As far as I remember url for such a thing is something like this (but you have to check): /product?sportType={sportType}
create page for one product
add custom buttons
we should have reusable button component
we need button for 'submit', 'cancel', 'default'
fix carousel & best items display on main page for mobile view
add navigation for mobile
NOT SURE IF NEEDED:
you will probably have to create a function that will get you a device type and see if its desktop or a mobile see:
https://dev.to/timhuang/a-simple-way-to-detect-if-browser-is-on-a-mobile-device-with-javascript-44j3
... or
you can try using only css for screen width
INFO:
- submenus should only only display items below (not to the right)
- change styling arrows to point down not right
- items should also be displayed below its parent
- add some white 2px solid border between navigation items
create main page + router
page should have minHeight set to 100% of a screen
add best products at the bottom of home page
Add fixes to product page component
Change filter to find() method in ProductPageContainer.tsx
add pagination in ProductPage
add ability to filter products by prices / sizes
create a shared component that will be responsible for filtering products by selected sizes and price range
TIP:
- talk to Tomek and ask what sizes were going to have.
- props should include callback to filter products by what user selects (ask Piotr if you need any help with understaing how it should look like). this callback should have parameter as products. Your component should filter products by sizes/prices and run that callback passing filtered products there
fix to cart component
add application to github pages
create github pages for the ui purposes
fix api product controller
create component for text that is too long
change routes to enum
add spinner component
load fontawasome
display navigation submenus based on enabled sport types
create register page with navigation icon
create base register bage with all validations
validation should check:
- if element was touched
- if the value is valid
FORM models:
email
firstName
lastName
password
button to register should be enabled
after clicking button and if operation was succeed we should store token inside localstorage and navigate back to main page
on the navigation there should apear two buttons/text what ever
- go to profile
- log out
User model that will come from api:
email
firstName
lastName
role: 'user' | 'admin'
validate if sport is enabled in api before upsert new product
notification storybook
add prettier
create notification component
add carousel component
add carousel component
props:
- children (props.children) (required)
- number of elements displayed in active view (optional, hardcode value 1)
- interval (optional, hardcode 5000ms)
make page looks better (have fun)
do what you want - just make it better
fix product containers (look at the button posistion). you can try to make all inside components have fixed height. this will prevent moving elements they way the do now
fix carousel - carousel should move from left to right and reverse depending on what user clicks. by default we should move it from left to right (now its based on opacity)
you can play with navigation styling (take inspiration of something from the internet)
spinner should be in the center. Make sure that we can also change spinner sizes. (we will use it inside buttons so its good to have the ability to set customized styles)
we dont need to hover images in BestItem
images alt text can be just 'picture'
fix sport page
fix product component
add 'typing' component
add component that will display typing text.
you can pass string as text. If whole text is typed then you can stop typing ofc and the text should stay
add interval to 1.3s
add shopping cart page
display all products with their names, prices (we should also be able to remove these products from a list)
display sum of all products added to a cart
display button 'Go to payment'
load storybook
prepare code structure
fill frontend folder with things we had in previouse project
fix Best Items
backend initial config
data:
isBestseller
name
description
price
sport: enum (tennis)
type: enum (shoe)
category: enum (man, woman, children)
image
size
brand
isCarousel (temporary)
add big image with 'typed' text to home page
create component for sale (promocja) items
add auth router
email
firstName
lastName
role: 'user' | 'admin'
token
add product page + route
url: 'products/:type'
- mock some objects ti display (they will come from context later)
- display products (use Item component)
- add ability to filter products
nav panel component
create navigation panel with dropdowns and submenus
[elem1] [elem2]
[elem1.1] [elem1.1.1]
[elem1.1.2]
after hover we should display another elements in a tree.
after click we should redirect to custom link
Example:
elem1 (hovered) -> display elem1.x -> display1.1 (hovered) -> display elem1.1.x
each nav element should have possibility to hover and click (but these options are OPTIONAL)
add component for product
prepare readme file
add footer
(c) - icon from react-icons
text:
2022 ShoppingApp (c)
if its 2023 then display '2022 - 2023'
add two contexts
context model should be the same as we will have in api.
API will reponse with all products
another context should be responsible for adding products to shopping cart (can only include ids)
validate if brand is enabled in api before upsert new product
fix buttons every where
go though all pages and change buttons to our custom ones (see shared/button/Button.tsx)
add carousel to home page
add page for brands
we want display list of brands we have.
each brand card must include:
- brand name
- icon representing that brand (should be taken from api - probably need another thing in a model)
- number of products for this brand
after clicking one of them page should navigate user to the page with selected brand items.
this url is not done so you have to create new filter for brand
add img to product view model (response)
cccccbcdgfrnkrfjetgffklbuffcfctdujtenlvkjjrj
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.