Skip to content

cllcnkrt/CicekSepeti_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Çiceksepeti & Patika.dev React Bootcamp Graduation Project

E-commerce app with ReactJS. The all informations comes from an API. In the application, there are 8 pages: home, product details, product add, account, sign in, sign up, forget password and error 404.

Live Demo: İkinci el project

Topics

  • React js
  • React Hooks
  • React Router Dom
  • React-redux
  • Redux-thunk
  • Node-sass
  • React-dropzone
  • React-paginate
  • React-toastify

Getting Started

Clone repo

git clone https://github.com/cllcnkrt/CicekSepeti_Project.git

Install NPM Packages

yarn add

Run

yarn start

Pages

Register

  • Users can become a member from this page.
  • Email and Password fields are required.
  • The email must be valid and a password with a length of at least 8 and a maximum of 20 characters must be entered.
  • If the process is successful, the user is redirected to the index page as a signed-in.
  • If the process is unsuccessful, the user is shown an error message.
  • When users who already have login try to come to this page, they are redirected to the index page before they can see this page. üye ol 1

üye ol 2

üye ol 3 üye ol mobil

Login

  • Users can log in as a member from this page
  • Email and Password fields are required.
  • The email must be valid and a password with a length of at least 8 and a maximum of 20 characters must be entered.
  • If the process is successful, the user is redirected to the index page as a signed-in.
  • If the process is unsuccessful, the user is shown an error message.
  • When users who already have login try to come to this page, they are redirected to the index page before they can see this page.

giris 1 giris 2

giris mobil

Forget Password,

  • E-mail is being entered, if it is not entered, an error is displayed.
  • After entering the e-mail and clicking the send button, it is redirected to the login page.

sifremi unuttum 1

sifremi unuttum 2 sifremi unuttum mobil

Home

  • Account and Add Product buttons appear if the user is authenticated, user login button if they are not authenticated.
  • When the Account button is clicked, it goes to Account page.
  • When any category is clicked, the selected category is kept in the query.

anasayfa

anasayfa 2 anasayfa 3 anasayfa 4

anasayfa mobil anasayfa mobil 2

Product Detail

  • The Bid button appears or changes according to the isOfferable field in the data from the product.
  • Clicking on the Bid button, a screen appears and ready-made offers can be made from there, or the user can enter an offer himself.
  • When one of the ready-made percentile offers is selected, the corresponding value is calculated at the price and sent to the API side.
  • If a user has bid on a product, when it comes to the detail of that product, the Withdraw Offer button appears instead of the Bid button. Clicking on it, the offer is withdrawn.
  • The user can buy a product directly without making an offer. Clicking on the Buy button shows the corresponding screen.
  • When the user purchases the product, the Buy and Bid buttons in the corresponding product are hidden. It seems that this product is Not on Sale in the form of an article. This article appears based on the value of the isSold field in the product data.

ürün detay 1 ürün detay 2

ürün detay 2 ürün detay 3

ürün detay 4

ürün detay 5

ürün detay 6

ürün detay 7 ürün detay mobil

Account

  • If the user is not logged in, it cannot view this page.
  • Listing offers
  • The received offers can be answered with the Confirm and Reject buttons.
  • The purchase button appears when the bid is confirmed
  • Clicking on the Buy button, as on the product detail page, the corresponding screen appears. Clicking on Buy updates the status of the product in the list of My offers.

hesabım

hesabım 2

hesabım 3 hesabım 4

hesabım 5

hesabım 6

hesabım mobile 1 hesabım mobile

Product Add

  • If the user is not signed-in, it cannot view this page.
  • The Product Name field has a maximum length of 100 characters and is a mandatory field.
  • The description field has a maximum length of 500 characters and is a mandatory field.
  • The Category field lists the categories pulled from the corresponding endpoint, and up to one category can be selected. This area is a mandatory one.
  • The color field lists the colors taken from the corresponding endpoint, and up to one color can be selected. This area is a mandatory one.
  • The brand field lists the brands withdrawn from the corresponding endpoint, and up to one brand can be selected. This area is a mandatory one.
  • The Usage Status field lists the usage states that are pulled from the corresponding endpoint, and a maximum of one usage state can be selected. This area is a mandatory one.
  • A maximum of one product image can be added from the Product Image field. The added product image can be deleted at any time. This area is a mandatory one. Only images can be added in png/jpg/jpeg format. A maximum of 400kb worth of images can be added.
  • The price field is a number and mandatory field. ürün ekle

ürün ekle 2

ürün ekle 3

ürün ekle 4

ürün ekle 4 ürün ekle 5

ürün ekle mobil

ürün ekle mobil 2

Error 404

  • The page shown in incorrect link redirects. error 404 error 404 mobil

Performances

Web

web

Mobile

mobil

About

Çiceksepeti & Patika.dev React Bootcamp Graduation Project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published