Begin your journey online with one of the fastest growing, e-commerce brands in the country and have a seamless online shopping experience. Immerse yourself in the joy of browsing through the best Indian and international brands in fashion, luxury, electronics and jewellery.
Login/Signup using ReduxMultiple Filtering and Sorting optionsSearch PageCart Page using ReduxOrders using OTPAdmin PanelFully Responsive
=> Before you start:
-
I have already created all the folders which you will need during journey.
-
Dont use any other folder to make files if you are doing please inform the team members that you have created a folder with name.
-
I have already setup all the things related to
redux,.env,Chakra UIandreact-router-domYou guys have to just start developments. -
Also given you sample
NavbarandFootercomponents so that you get comfortable about folder components export. -
You will get all the routing files in
routesfolder. -
You can also use context-api if needed.
-
All the end-points and base-url should be in env files.
-
Use
assetsfolder for images,pdf,video..etc -
Use
componentsfolder for making components either in folder or without folder just be sure naming should not match with other folder/file to avoid collision -
Use
pagesfolder to create all the pages -
Use
routesfolder to all the routing related stuffs -
Use
scriptsfolder for any js script you wanna write.(this folder helps you to keep jsx and js folder separate) -
Use
stylesfolder to keep your all css files. -
Use
constantsfolder to create all the constants (Helps you reducing hard-coding)(Most recommended)
=> Clone the directory to start work $git clone https://github.com/dev-Imsaurabh/third-ice-7307.git
=> Ok guys here are the some basic instruction before you start , If you are here you are successfully pulled the code and you are ready to type you first command in terminal.
Step-1- Navigate to proeject directory using $cd third-ice-7307
Step-2- install node_modules using $cd npm install
Step-3- install some common dependencies:-
- $npm install react-router-dom redux react-redux redux-thunk axios
- $npm install @chakra-ui/react @emotion/react @emotion/styled framer-motion
=> Some basic requirements(Mandatory): 1- You have to work in daily branches manner, so you have to create new branch everyday . So you have make branch using your student_code followed the day in which you working. below is the eg for my branches.
- branch-naming style: fw21_XXXX_day-x
-for day-2 branch name should be: fw21_1003_day-2
-for day-3 branch name should be: fw21_1003_day-3
-for day-4 branch name should be: fw21_1003_day-4
-for day-5 branch name should be: fw21_1003_day-5
2- How to create branches:
- $git branch <branch-name> (without angle brackets)
3- How to switch branches:
-$git switch <branch-name> (without angle brackets)
4- How to pull:
-$git pull origin <branch-name> (without angle brackets)
=> Some helpful Tools during development :
- Chakra-UI - https://chakra-ui.com/
- Chakra-Templets - https://chakra-templates.dev/#
- String Builder - https://codebeautify.org/string-builder
- Chat-gpt - https://chat.openai.com/chat
- Your-Team-members- https://chat.whatsapp.com/KR80RM0zbWi6agJVFL66Z9
************************************* All the best guys ************************************************
*Note:- Bhavnesh will do all the backend and admin panel so you will get apis and endpoint on day-2 morning.
Your backend base url
/users
/products
Product Schema
{
"id":0,
"images":["" , ""],
"name":"",
"short_desc":"",
"long_desc":"",
"category":"",
"price":0,
"strike_price":0,
"ratings":0,
"color":"green",
"delivery_time":3,
"size":""
}
User Schema
{
"id":0,
"name": "",
"email": "",
"password": "",
"account": {
"cart": [
{"id":0,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color":"",
"delivery_time": 0,
"size":"",
"quantity":0
},
{
"id":1,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color":"",
"delivery_time": 0,
"size":"",
"quantity":0
}
],
"orders": [{
"id":0,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color":"",
"delivery_time": 0,
"size":"",
"quantity":0,
"address":""
}]
}
}
- Whole
db.jsonDatabase look
{
"users": [
{
"id":0,
"name": "user-1",
"email": "",
"password": "",
"account": {
"cart": [
{"id":0,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color":"",
"delivery_time": 0,
"size":"",
"quantity":0
},
{
"id":1,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color":"",
"delivery_time": 0,
"size":"",
"quantity":0
}
],
"orders": [{
"id":0,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color":"",
"delivery_time": 0,
"size":"",
"quantity":0,
"address":""
}]
}
},{
"id":1,
"name": "user-2",
"email": "",
"password": "",
"account": {
"cart": [
{"id":0,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color":"",
"delivery_time": 0,
"size":"",
"quantity":0
},
{
"id":1,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color":"",
"delivery_time": 0,
"size":"",
"quantity":0
}
],
"orders": [{
"id":0,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color":"",
"delivery_time": 0,
"size":"",
"quantity":0,
"address":""
}]
}
}
],
"products": [
{
"id": "category-name-1",
"items": [
{
"id": 0,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color": "",
"delivery_time": 0,
"size": ""
},
{
"id": 1,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color": "",
"delivery_time": 0,
"size": ""
}
]
},
{
"id": "category-name-2",
"items": [
{
"id": 0,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color": "",
"delivery_time": 0,
"size": ""
},
{
"id": 1,
"images": ["", ""],
"name": "",
"short_desc": "",
"long_desc": "",
"price": 0,
"category":"",
"strike_price": 0,
"ratings": 0,
"color": "",
"delivery_time": 0,
"size": ""
}
]
}
]
}
These are the pages we need in this project.
//Tinkle
-
HomePage-------------------->Saurabh/ Tinkle (Day1-Day2) -
AccountPage------------------------->Tinkle / Anyone(Help if needed) (Day-1) (day-2)
//Farhaz
-
SignupPage------------------------->Farhaz (Day1-Day2) -
LoginPage--------------------------->Farhaz (Day2) //with API connected
//Saurabh
-
SearchPage------------------------> Saurabh (Day3) -
ProductPage------------------------> Saurabh (Day3-Day4) -
ViewProductPage-------------------> Tinkle / Anyone(Help if needed) (Day1-Day2) -
CartPage----------------------------> Saurabh (Day3-Day4)
//Bhavnesh
-
Checkout-Page----------------------------> Bhavnesh (Day3-Day4) -
OtpPage------------------------------>Bhavnesh / Anyone(Help if needed) -
Whole backend setup-------------------> Bhavnesh
These are the components we need in this project.
//HomePage
Navbar----------Tinkle (Day-1)Footer----------Bhavnesh (Day-1)carousel------------Bhavnesh (Day-1)Category-circular-Card------Saurabh (Day-1)Category-rectangular-Card--------Saurabh (Day-1)brands-Card-----------Saurabh (Day-1)banner-Card-------saurabh (Day-1)Trending-Card---------Saurabh (Day-1)
//ProdcutPage
Filter-box------Saurabh (Day-2)Product-Card---------Saurabh (Day-2)Sort-Box---------Saurabh (Day-2)
//SearchBar
Search bar------Tinkle--> Comes with Navbar (Day-1)
https://assets.tatacliq.com/medias/sys_master/images/45625097289758.jpghttps://assets.tatacliq.com/medias/sys_master/images/45625097420830.jpghttps://assets.tatacliq.com/medias/sys_master/images/45625097486366.jpghttps://assets.tatacliq.com/medias/sys_master/images/45625097551902.jpghttps://assets.tatacliq.com/medias/sys_master/images/45625097355294.jpg