GitHub - notadd/notadd: 基于 Laravel 的下一代 PHP 开发框架
source link: https://github.com/notadd/notadd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Overview
Notadd is an open source, Nest.js framework-based microservice development architecture that allows you to build a microservices system using the right modules and addons for different business needs. Notadd officially provides an abstract public service layer. Within the service layer, each module provides the Grpc interface for the Notadd main program to call. For example, a CMS system, you can use the officially provided nt-module-cms
and nt-module-user
modules as the underlying service layer. Then use the Notadd main program to write your API layer code according to the protobuf
message protocol defined by the service layer.
Features
- [Microservice] Supports stand-alone deployment and microservice
- [High Performance] Asynchronous high-performance applications, tens of thousands of concurrent
- [Easy to maintain] Developed with Typescript, intelligent code hints and compile-time code checking mechanisms
- [Pluggable] modular development system, according to business needs, select the appropriate module, build the API layer
Technology stack
- Typescript
- Nest.js
- GraphQL
- TypeORM
- Redis
System Architecture
Modular design
Enterprise Official Website: CMS module + neditor plug-in, message board plugin
Information release: CMS module, user module + CMS multi-user plugin, Neditor plugin
WeChat Mall: User module, Mall module, WeChat module + WeChat big turntable, payment plug-in, offline verification plug-in
Dining plan: User module, Mall module, WeChat module + ordering plugin, scan code payment plug-in, passenger flow monitoring plug-in ... + infrared sensor development, WiFi probe expansion
Hotel Program: User module, Hotel module, WeChat module + booking plugin, payment plug-in, smart WiFi plugin + WiFi probe expansion, door card system expansion
CRM system: User module, CRM module ...
More to imagine ...
Quick Start
- Clone Rpc sample service to the local nt-rpc-demo
- Clone the user service to the local nt-module-user
- Start the microservice according to the instructions of
nt-rpc-demo
andnt-module-user
- Clone this project to your local
- Installation depends on
yarn install
- Start
yarn start
- Open a browser and go to
localhost:5000/graphql
- Test GraphQL API
Note: The Notadd main program provides demo code at this stage, and does not rule out the removal of all graphql api code later.
Module list
Addon list
Contribution
Welcome to Pull requests. For major changes, please file a Issue and discuss with us what you want to change.
Contributors
Thanks to all those who have contributed to notadd!
Communication
Tencent QQ Group:322247106
Forum: Under construction
Blog: Under construction
Excellent Repositories
- Swoft Modern High performance AOP and Coroutine PHP Framework, base on Swoole 2
- ThinkSNS Plus Use of Laravel framework to achieve the user ecosystem.
- Neditor A modern editor based on the Ueditor.
Sponsor
We would like to thank the following sponsors for funding the development of our Notadd. If you are interested in becoming a sponsor, please visit Notadd's Gitee Page:
(Please ask your company to support this open source project by becoming a sponsor)
Backer
Thank you to all our backers! Become a backer
License
The Notadd is open-sourced software licensed under the Apache 2.0 license.
- Internationalization (i18n) support
- Public services such as cms、pay、config、storage、logger, etc.
- Service governance, fuse, downgrade, load, registration and discovery
- Support PWA technology, implement off-screen reminders, web-off form saving, webpage offline message push
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK