Skip to content

This is a mern stack website where user can view and order action camera.

Notifications You must be signed in to change notification settings

ankan-782/Camsta-client-side

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Camsta -- a action camera shop

This was a task for a course of programming hero in 2021

Table of contents

Overview

Links

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size
  • See hover states for all interactive elements on the page
  • use navigation for navigating through sections.
  • use mobile menu for navigating sections in tablet and mobile devices.
  • Receive an error message when the footer subscribe now form is submitted if:
    • The input field is empty
    • The email address is not formatted correctly

Project features

  • This is the action camera shop related website where customers can buy many action cameras through this website called Camsta.

  • This website has basically 4 routes. Home, Explore Products, Dashboard and login-registration route. In Dashboard route there has many routes. But these routes can be available basically two kinds of users. For normal users of this website, My Orders, Payments, Give us Feedbacks, See all Feedbacks routes are available. For Admin user, Add a Product, Manage All Products, Manage All Feedbacks, Make Admin routes are available. There has a header for navigating Home, Explore Products, Dashboard, login and Registration and there has a footer in the last part of Home section.

  • In home page there has 4 sections except header and footer which are banner section & some products, about us section and feedbacks section.

  • Then, in products section all products will be available. Then products details will come when user clicks in the Button below. Then user see the details about the product and for purchasing that product user need to fill up the form.

  • Then the purchase information is shown to the My orders section and Manage all orders section which is in the dashboard route.

  • Admin can delete the orders from Manage All orders section and can approve the any user's orders by clicking the approve button. By approving the pending status will be cleared and set the status shipped from both section which are My orders section and Manage All orders. Lastly Admin can add a new product by going to the Dashboard > Add New product. Here Admin has to fill out the form for add a new product.

  • Admin can make another user admin if the admin wants.

  • Admin can delete feedbacks and products if he wants.

How to run

  • Clone the repository:
git clone https://github.com/ankan-782/Camsta-client-side.git
  • Navigate to the project directory:
cd Camsta-client-side
  • Install dependencies:
npm install
  • run the project:
npm start

Screenshot

  • landing page at larger devices

screenshot 1

  • all products at larger devices

screenshot 2

  • products details at larger devices

screenshot 3

  • order information at larger devices

screenshot 4

  • login page at larger devices

screenshot 5

  • registration page at larger devices

screenshot 6

  • all orders list when user is admin

screenshot 7

  • add new product page when user is admin

screenshot 8

  • manage all products page when user is admin

screenshot 9

  • manage all feedbacks page when user is admin

screenshot 10

  • make an admin page when user is admin

screenshot 11

  • dashboard home page from normal user

screenshot 12

  • my order page when user is a normal user

screenshot 13

  • give feedback page when user is a normal user

screenshot 14

  • see all feedbacks when user is a normal user

screenshot 15

  • when navbar is opened at smaller devices

screenshot 16

  • another ss when device is smaller

screenshot 17

My process

Built with

  • React Js
  • Semantic JSX markup
  • Bootstrap css framework
  • Flex-box
  • CSS Grid
  • Position
  • Mobile-first workflow
  • Firebase authentication
  • API integration
  • MongoDB database
  • Various npm packages

Author