Coder Social home page Coder Social logo

give-plus-plus's Introduction

Give++

Give++ 二手交易平台

網站連結 : https://give-plus-plus.herokuapp.com/

介紹影片 : https://www.youtube.com/watch?v=o4nH5tC_XKk&feature=youtu.be

專案簡介

這是 Give++ 二手交易平台的前端原始碼,採用 React Hooks 和 Redux Toolkit 開發。

  • 使用者可使用功能:

    • 商品系統:自動篩選、手動搜尋、分類搜尋,不但能瀏覽網站上所刊登的商品,且能決定搜尋結果的排序方式
    • 購物車系統:查看欲購買的項目及內容,並且成立訂單
    • 賣家系統:於賣家後台刊登或編輯欲銷售的商品
    • 個人資料管理系統:編輯商店頁面的公告內容、聯絡資訊
    • 訂單系統:隨時掌握/更新訂單的最新狀態
  • 管理員可使用功能:

    • 後台管理系統:審核最新刊登的商品,管理/維護網站的用戶及商品

如何執行

npm install

安裝此專案所需的第三方套件

yarn start

http://localhost:3000 上啟動此專案

yarn build

build 資料夾中建立此專案的 production 版本

yarn deploy

在 GitHub Page 上部屬此專案網站

使用技術

  • 前端框架
    • React Hooks
    • React Dom
  • 第三方套件
    • Redux Toolkit
    • React Router
    • Dayjs
    • Nuka Carousel
    • Snow
    • Cypress
  • 第三方 API
    • Imgur

專案架構

頁面結構

Pages Structure

功能結構

Feature Structure

專案 DEMO

商品搜尋

可依照最新商品、手動搜尋、分類搜尋方式搜尋商品,且可在搜尋結果頁面自訂商品的排序方式

購買商品

可以將商品加入購物車,查看欲購買的商品內容及金額,並成立訂單

查看訂單

隨時掌握/更新訂單的最新動態

賣家後台

可以編輯公告、編輯賣家資料、刊登商品、編輯商品

管理後台

管理員可以審核新商品,可以管理/維護網站中的商品及用戶

專案測試

本專案利用 Cypress 對於註冊、登入、登出功能,做基本測試

測試項目:

  • 取得使用者資訊
  • 註冊、登入、登出之基本功能
  • 各項欄位輸入錯誤時的錯誤提示

測試指令:

yarn cypress:open

啟動 Cypress E2E 測試工具

yarn cypress:run

執行 Cypress E2E 測試,並生成或更新測試影片

測試畫面

專案後端

Give++ 二手交易平台的後端,採用 Express 和 Sequelize 進行開發

License

MIT

give-plus-plus's People

Contributors

krebikshaw avatar nicolakacha avatar ruofanwei avatar small-leaf avatar

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.