我计划在云服务器上建个 api 服务,给移动客户端提供一些服务。由于我不是专业搞后端的,为了避免踩坑求推荐个成熟的开源方案。
![]() |
1
thinkm 120 天前
我也是 nodejs 后端,用的腾讯云
|
2
GeorgeWai 120 天前
restful 的 api 框架有很多,但是业务逻辑还是得自己写,确定好语言,然后问下 cursor 吧,😄
|
![]() |
3
Manweill 120 天前
nest.js 方案,比较成熟,社区也比较大
|
4
zbinlin 120 天前 ![]() fastify 或者 koajs
|
![]() |
5
mdn 120 天前 ![]() 如果只是简单提供一下 API ,建议 fastify 灵活方便、社区活跃
nest.js 太繁琐 |
![]() |
6
estk 120 天前 via iPhone
nextjs+vercel+fauna
|
7
ilaipi 120 天前 ![]() nestjs ,类似 spring 的依赖注入,大型的比较舒服。小的话随便啥都行,koa / express ,哪个简单来哪个
|
![]() |
8
Trim21 120 天前 via Android
fastify
|
![]() |
9
waltcow 120 天前
cloudflare woker
|
![]() |
10
baobao1270 120 天前
koa 吧,如果只需要 API 不需要前端的话
|
![]() |
11
Dragonphy 120 天前
https://github.com/unjs/nitro
坑多不多就不清楚了 |
![]() |
12
xiangyuecn 120 天前
var http = require('http');
var https = require('https'); http.createServer(...).listen(80); https.createServer(...).listen(443); 专业且绝对成熟 |
13
shui14 120 天前
trpc ,派生有好几个 sdk ,t3 之类的,也有全栈 nextjs 这些支持
|
![]() |
14
amlee 120 天前
我也有类似的需求,现在再 fastify 和 trpc 之间选型,有没有用过这两者的说说优缺点?
|
15
northquq 120 天前
trpc
|
![]() |
16
justin2018 120 天前
Appwrite - Open-Source End-to-End Backend Server
https://appwrite.io/ |
![]() |
17
cbdyzj 120 天前
说实话,2023 年的今天,我还是在用 express
|
![]() |
18
yuekcc 120 天前
|
19
charlesmax 119 天前
nestjs 方案比较成熟
|
![]() |
20
byte10 119 天前 ![]() KOA2 比较简单,一把梭,既然是提供简单的服务,这个框架最合适了。
|
![]() |
21
Al0rid4l 119 天前
项目简单小就 Fastify, 复杂就 Nestjs
|
22
lilei2023 118 天前
写接口就 koa 、express 得了,复杂的话用 NestJS 更好点
|