Coder Social home page Coder Social logo

zahramirzaei / online-shop Goto Github PK

View Code? Open in Web Editor NEW
227.0 8.0 44.0 6.5 MB

An E-Commerce project, developed by Nextjs and typescript. styled with Tailwind css and it is fully responsive.

Home Page: https://zishop.vercel.app/

JavaScript 10.35% TypeScript 87.19% CSS 2.46%
nextjs react redux-toolkit tailwindcss typescript

online-shop's Introduction

ZiShop

An E-commerce site template, implemented with Next.js and TypeScript. Styled with TailwindCSS. This is one of my portfolios, but I would be pleased if these codes helped others, so I published it as an open-source project. feel free to explore it, and if you need help, ask me. I would respond as soon as possible.

To support me, please create Pull request and give star⭐ to this repository.
I appreciate your support in advance. ❤

GitHub top language  GitHub last commit  GitHub commit activity  GitHub release (latest by date)  GitHub Repo stars  GitHub forks

TechnologiesDemoFeaturesPagesGetting startedContributingContact Me

🔧Technologies

React  TypeScript  Next.js  Redux  Tailwind CSS

✨Demo

You can visit and explore in the ZiShop template at ZiShop.vercel.app.

🔥Features

  • Using Redux toolkit as state manager
  • Using Sanity.io as database
  • Fully responsive
  • Multi-language (EN-FA)
  • Multi-theme (Dark/Light)

📃Pages

  • Main (index)
  • Login/SignUp
  • Products List
  • Product Details
  • Cart
  • Favorites
  • About

(BACK TO TOP 🔝)

🚀Getting Started

  1. Sign up in sanity.io and get projectId and token

Warning  To work with sanity, people how live in Iran should run VPN.

  1. Clone the project
git clone https://github.com/ZahraMirzaei/online-shop.git
  1. Install project dependencies
npm install
#or
yarn add
  1. Enter your projectId into lib/client.ts
  2. Add .env file to root project, and enter your token into .env
NEXT_PUBLIC_SANITY_TOKEN= [ENTER YOUR TOKEN]
  1. Go to sanity_onlineshop folder and open new terminal in this path, then
sanity start

open http://localhost:3333 and enter products.

  1. Run the development server in project root path:
npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

🤝Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

💬Contact Me


(BACK TO TOP🔝)

online-shop's People

Contributors

zahramirzaei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

online-shop's Issues

update redux hook

add custom hook for useDispatch and useSelector instead of using type for all RootState.

Website SEO

Hello, @ZahraMirzaei , sorry for the disturbance. I'm having a problem understanding SEO, please help me with the procedure or guidelines. Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.