1 Star 3 Fork 2

huanghanzhilian / c-shopping-rn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

logo

C-Shopping-RN APP

这个是一个React Native(Expo) 开发的完整App应用,是一个精美的电商购物应用

README.md

使用技术

  • React Native
  • Redux Toolkit
  • RTK Query
  • Expo Router
  • NativeWind

前言

c-shopping-rn是一个精美的电商App,界面优雅,功能丰富,小巧迅速,包含一个电商平台MVP完整功能,具备良好的审美风格与编码设计。

项目数据接口来自于c-shopping Next.js 开源项目

项目传送门: https://github.com/huanghanzhilian/c-shopping

希望来的人,有所收获。故事不结束,青春不散场。

项目介绍

背景:

  • 一直以来前端UI框架被固定形式占据(受限于传统的UI框架),导致视觉疲劳,在开发一些高度自定义的项目时,往往力不从心;
  • 多设备适配的web优秀项目很少,学习和维护成本较高;
  • 当项目复杂后,在组件需要调用多个 api 时会变得复杂起来,比如需要管理多个 loading 和 error 状态,这会导致产生非常多的 state 声明,还有请求取消、请求竞态等可能存在的问题也容易被忽略;
  • 随着项目复杂,样式的开发与维护变得庞大且臃肿;

意图:

改进背景中提到的问题。

目的:

打造一个完整的,适合web端的良好生态。

项目演示

Module loading skeleton success error or empty
feed
Module loading success empty error
Category
Module Loading and skeleton Level 1 Level 2 Level 3
Classification subset
Module Loading and skeleton Normal screen 1 Normal screen 1 Error
product details
Module Comment section Click to verify login Fill in the comments Submit comment error Comment submitted successfully
product review
Module Not logged in Data is empty Screen 1 Screen 2 add to the cart
Cart
Module Shopping cart to pay Confirm payment payment successful
Payment
Module Not logged in After logging in After logging out
Profile
Module A page that requires login Before the button logic, you need to verify whether you are logged in and After entering the page, you need to verify whether you are logged in and redirect login display error login loading login handle response register
Authentication design
Module Loading or skeleton Normal screen Empty screen Error
Orders List

安装

本地运行 c-shopping-rn React Native 应用程序,请按照以下步骤操作:

  1. 克隆存储库:

    git clone https://github.com/huanghanzhilian/c-shopping-rn.git
  2. 导航到项目目录:

    cd c-shopping-rn
  3. 安装依赖项:

    npm install
  4. 启动:

    npm start
  5. 连接移动设备或模拟器以运行该应用程序。

贡献

欢迎贡献! 请提出问题或提交拉取请求。

License

This project is licensed under the MIT License - see the LICENSE file for details.

This README provides a brief overview of the project's code structure and how to install and run the React Native app locally. Adjustments can be made to tailor it further to your specific project.

MIT License Copyright (c) 2024 Jipeng Huang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

This is a complete App developed by React Native (Expo). It is a beautiful e-commerce shopping application. 这个是一个React Native(Expo) 开发的完整App应用,是一个精美的电商购物应用。 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/huanghanzhilian/c-shopping-rn.git
git@gitee.com:huanghanzhilian/c-shopping-rn.git
huanghanzhilian
c-shopping-rn
c-shopping-rn
main

搜索帮助