Comments (6)
什么错误,有截图么
from fullstack-app-template.
什么错误,有截图么
from fullstack-app-template.
我看了下,是依赖的包有不兼容更新。
你是要这个项目做什么,是学习?还是项目中使用?
如果项目中使用推荐你用,如下的框架:
如果是学习,我晚上把项目的依赖固定下就好了
from fullstack-app-template.
我看了下,是依赖的包有不兼容更新。
你是要这个项目做什么,是学习?还是项目中使用?
如果项目中使用推荐你用,如下的框架:
如果是学习,我晚上把项目的依赖固定下就好了
本来想着在项目中使用,不过更多的是学习,谢谢大佬!
from fullstack-app-template.
前端很多项目很少有复杂的功能需求。
如果是简单的渲染 html,没有逻辑层,只想解决请求跨域问题,可以用 nginx 代理和发送 html,如 vue 项目。
如果是需要隐藏后端,前端做中间层,可以用 eggjs 这种框架。
如果是想用 typescript 写 node,可以用 midwayjs 和 nestjs
from fullstack-app-template.
但如果你是抱着学习的目的,我建议你用 koa 开发。
框架
- koa
- @koa/router - 官方 fork 的 koa-router 项目
- koa-session - 会话管理
- koa-bodyparser - POST 请求内容解析
- koa-helmet - 安全配置
- config - 解决不同环境的配置问题
- prisma - 数据库链接工具
Swagger 工具
工具包
本地开发
- node-dev - 监听文件变化,重启服务
- ts-node-dev - 如果是 ts 项目用这个
- cross-env - 跨系统设置环境变量
生产工具
- pm2 - 监听应用变化,重启服务,可以用 docker 代替
其他
参考 eggjs 的目录组织或按自己的理解开发。
等你做完一个独立的项目,再从 eggjs -> midwayjs -> nestjs 顺序去看框架,学起来会轻松很多。
from fullstack-app-template.
Related Issues (2)
- 请问怎么做heapdump HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fullstack-app-template.