Giter Site home page Giter Site logo

ihaowu's Introduction

iHaowu - 爱好物

工作中~

基于 nestjs 的微服务架构搭建的在线商城服务端

关联应用

架构设计

架构设计

粗略设计,项目分成 ihaowuihaowu-webihaowu-mobile,都采用 monorepo 进行管理,整体结构保持一致。

后端技术栈

  • nestjs - web 框架
  • prisma - 数据库工具
  • 微服务 架构

前端技术栈

折腾,使劲的折腾,趁现在头发还在。

等我👨‍🦲了,也就变强了

暂不考虑 angular,不是歧视,而是真没精力学了😭。

APP 技术栈

fluttercapacitorjs

还没想好,其他的也没精力了。。。

flutter 热度高,但架不住 web 越来越开放,capacitorjs + web api 天生和 js 很搭配。

作者语:其实两个都没这么学,都不好,哈哈哈哈哈

目录结构

apps 目录下都是独立的应用,拥有独立的端口号,microservices 下是微服务,启动不占用端口,packages 下是公共的模块,后期会发布到 npm 上,是应用和微服务都会依赖的公共模块。

Project/
├── .vscode/         - vscode 编辑器配置目录
├── apps/
|   ├── api/                 --- api 网关
|   └── passport/            --- 通行证服务
├── microservices/
|   ├── config/              --- 配置中心
|   └── wechat/              --- 微信公众号
├── packages/
|   └── nestjs-utils/        --- nestjs 应用工具模块
├── lerna.json               --- lerna  配置文件
├── nest-cli.json            --- @nest/cli 配置文件
├── tsconfig.base.json       --- 通用基础配置
├── tsconfig.json            --- typescript 配置
└── vscode.code-workspace    --- vscode 工作区配置

文档

想要启动本项目的,请查看 快速开始 的文档。

License

  • MIT

ihaowu's People

Contributors

zhengxs2018 avatar

Stargazers

 avatar

Forkers

kaqiinono

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.