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

Developer #10

Open
wants to merge 10 commits into
base: Main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REACT_APP_JWT_SECRET= "180099990000"
123 changes: 22 additions & 101 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,104 +1,25 @@
# Logs
logs
*.log
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
# /build

# misc
.DS_Store
# .env
.env.local
.env.development.local
.env.test.local
.env.production.local
.eslintcache

npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port
105 changes: 104 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,104 @@
# vision_ecommerce
<div align="center">

<img alt="Vision Kart logo" src="public/vision-icon.jpg" width="150px" height="150px" />

# Vision Kart

![Forks](https://img.shields.io/github/forks/MayankKumar10/vision_ecommerce)
![Stars](https://img.shields.io/github/stars/MayankKumar10/vision_ecommerce)
![License](https://img.shields.io/github/license/MayankKumar10/vision_ecommerce)

</div>

---

## 📕 Table of Contents

- [About](#-about)
- [Features It has](#-features-it-has)
- [Features You will See in Future](#-features-you-will-see-in-future)
- [Getting Started](#-getting-started)
- [Connect with me](#-connect-with-me)

---

## 📖 About

## Vision Kart is platform to get all the new Laptops, Mobiles and Gadgets and Electronics Items.

## 🚀 Features It has

**Categories**

- Laptops
- Gaming Laptops
- CPU
- Mobiles

**Navbar**

- search by Category
- navigate to the WishList/Cart page
- navigate to the Home page back, click on the Vision Icon in the left
- Log In/Log Out

- Sign Up by following the link provided on the Log In page

From **Home**

- click on the Category in which you want to buy
- add/remove Items in (or from) your WishList
- add Items in your Cart

From **Products** Page

- filter the products based on your preference. Vision gives filter options for

- filter by Category
- filter by Ratings
- Sort by Price
- Slider to filter by Price Range

- add/remove Items in your WishList
- add Items in your Cart

From **Cart** page

- see the price card, containing total amount that you have to pay.
- increase/decrease the quantity of an item
- add/remove Items in your WishList
- remove Items from your Cart

From **WishList** page

- remove Items from your WishList

## 🔌 Getting Started

- clone the repository on your local machine with the command below in your terminal, and cd into the **react-Vision Kart** folder

```
git clone https://github.com/MayankKumar10/vision_ecommerce.git

cd react-Vision Kart
```

- install dependencies (if you are using **yarn** then do with that)

```
npm install
```

- create a `.env` file at the root level of the directory (at the level of `package.json`) and create a variable like mentioned below

```
REACT_APP_JWT_SECRET = <JWT_SECRET_KEY_OF_YOUR_CHOICE>
```

- start the server

```
npm start
```

---
30 changes: 30 additions & 0 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"files": {
"main.css": "/static/css/main.28fd33fe.css",
"main.js": "/static/js/main.059602fa.js",
"static/media/vision_img.png": "/static/media/vision_img.a4e9a293fccbd86a6a1e.png",
"static/media/homePageImg.png": "/static/media/homePageImg.787f165aba107372b3cc.png",
"static/media/matthew.png": "/static/media/matthew.a5edfa2ff7a3be49dd8f.png",
"static/media/kristy.png": "/static/media/kristy.8300278fdd30c0ceae94.png",
"static/media/molly.png": "/static/media/molly.0352f05070555e24aa2a.png",
"static/media/vision_home.webp": "/static/media/vision_home.c288ed6141329a372385.webp",
"static/media/support.png": "/static/media/support.742caae5101d98ae2c49.png",
"static/media/steve.jpg": "/static/media/steve.31dd511eec1304751fc2.jpg",
"static/media/fast-delivery.png": "/static/media/fast-delivery.4cf1e1a16b4b856e5b8e.png",
"static/media/quality.png": "/static/media/quality.8a9d821279d346c38eaf.png",
"static/media/warranty.png": "/static/media/warranty.7f534b1c6f1c5ad51198.png",
"static/media/-github.svg": "/static/media/-github.b2294bccaa20da50b7d58419f07c0892.svg",
"static/media/cpu.svg": "/static/media/cpu.bfc3f3ba5a7f17f7011964916cb12c15.svg",
"static/media/pc-svg-2.svg": "/static/media/pc-svg-2.8de2bc7fe624ca90e8ec23fd08ff7b41.svg",
"static/media/lapi.svg": "/static/media/lapi.182ffe882b58691d689d317f4858a63e.svg",
"static/media/google.svg": "/static/media/google.9a7800d06783d80a1c12249a8ca58e9d.svg",
"static/media/github.svg": "/static/media/github.4cd3a2bc790226c346ae943ec1622139.svg",
"index.html": "/index.html",
"main.28fd33fe.css.map": "/static/css/main.28fd33fe.css.map",
"main.059602fa.js.map": "/static/js/main.059602fa.js.map"
},
"entrypoints": [
"static/css/main.28fd33fe.css",
"static/js/main.059602fa.js"
]
}
Binary file added build/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><link rel="stylesheet" href="https://unpkg.com/mockman-js@latest/dist/style.css"/><title>React App</title><script defer="defer" src="/static/js/main.059602fa.js"></script><link href="/static/css/main.28fd33fe.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
25 changes: 25 additions & 0 deletions build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
3 changes: 3 additions & 0 deletions build/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
4 changes: 4 additions & 0 deletions build/static/css/main.28fd33fe.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions build/static/css/main.28fd33fe.css.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions build/static/js/main.059602fa.js

Large diffs are not rendered by default.

Loading