Be The Hero全栈应用TypeScript、ReactJS、React Native、Node.js和PostgreSQL

Be The Hero 是一个有意思的全栈项目,最初由 Rocketseat 开发,现在已经经过升级,变得更加强大。它使用了TypeScript,并将数据库迁移到了PostgreSQL,提升了稳定性和扩展性。这个项目的最大亮点是,它不仅支持ReactJS前端,还通过React Native为移动设备了跨平台支持。后端采用Node.js,而用户身份验证则通过JSON Web Token来保证安全性。原本这个项目是为非政府组织和慈善基金会设计的,用户可以通过 Web 和移动端平台注册事件并进行互动。改进后的版本让代码更加清晰,功能也更加强大。如果你想了解如何将前后端结合起来,用 TypeScript 开发全栈应用,Be The Hero 这个项目是个不错的参考。

zip
be-the-hero-master.zip 预估大小:95个文件
folder
be-the-hero-master 文件夹
file
LICENSE.txt 1KB
folder
backend 文件夹
file
yarn.lock 199KB
file
ormconfig.json 310B
folder
src 文件夹
file
router.ts 757B
folder
database 文件夹
file
index.ts 149B
folder
migrations 文件夹
file
1606994533562-create-incidents-table.ts 1KB
file
1606956067561-create-ongs-table.ts 1KB
file
1607011548097-create-relation-between-incident-and-ong.ts 847B
folder
@types 文件夹
file
express.d.ts 98B
folder
config 文件夹
file
auth.ts 100B
file
server.ts 249B
folder
app 文件夹
folder
services 文件夹
file
CreateOng.ts 618B
file
CreateIncident.ts 1003B
file
CreateSession.ts 661B
file
IndexIncidents.ts 403B
file
DeleteIncident.ts 342B
file
GetOng.ts 447B
file
IndexOngIncidents.ts 399B
folder
models 文件夹
file
Ong.ts 410B
file
Incident.ts 496B
folder
exceptions 文件夹
file
ServiceError.ts 183B
folder
controllers 文件夹
file
SessionsController.ts 615B
file
OngsController.ts 972B
file
IncidentsController.ts 2KB
folder
repositories 文件夹
file
IIncidentsRepository.ts 384B
file
IOngsRepository.ts 208B
folder
typeorm 文件夹
file
IncidentsRepository.ts 1KB
file
OngsRepository.ts 626B
folder
middlewares 文件夹
file
auth.ts 681B
file
tsconfig.json 6KB
file
.editorconfig 228B
file
package.json 729B
folder
web 文件夹
file
.eslintcache 3KB
folder
public 文件夹
file
index.html 570B
file
favicon.ico 4KB
file
yarn.lock 505KB
folder
src 文件夹
folder
pages 文件夹
folder
Dashboard 文件夹
file
index.tsx 3KB
file
styles.ts 2KB
folder
Register 文件夹
file
index.tsx 3KB
file
styles.ts 2KB
folder
SignUp 文件夹
file
index.tsx 3KB
file
styles.ts 2KB
folder
Home 文件夹
file
index.tsx 1KB
file
styles.ts 1KB
folder
services 文件夹
file
api.ts 95B
file
index.tsx 193B
folder
utils 文件夹
file
formatCurrency.ts 177B
folder
components 文件夹
folder
Anchor 文件夹
file
index.tsx 451B
file
styles.ts 508B
folder
AuthRoute 文件夹
file
index.tsx 640B
folder
Button 文件夹
file
index.tsx 327B
file
styles.ts 557B
folder
Incident 文件夹
file
index.tsx 808B
file
styles.ts 757B
folder
TextField 文件夹
file
index.tsx 266B
file
styles.ts 276B
folder
assets 文件夹
folder
styles 文件夹
file
animations.ts 295B
file
global.ts 462B
folder
images 文件夹
file
logo.svg 4KB
file
heroes.png 104KB
file
App.tsx 1KB
folder
hooks 文件夹
file
auth.tsx 1KB
file
react-app-env.d.ts 40B
file
tsconfig.json 535B
file
.editorconfig 228B
file
package.json 1KB
file
README.md 5KB
file
.gitignore 23B
folder
mobile 文件夹
folder
.expo-shared 文件夹
file
assets.json 155B
file
yarn.lock 266KB
folder
src 文件夹
folder
pages 文件夹
folder
Detail 文件夹
file
index.tsx 2KB
file
styles.ts 1KB
folder
Home 文件夹
file
index.tsx 2KB
file
styles.ts 810B
folder
services 文件夹
file
api.ts 98B
folder
utils 文件夹
file
formatCurrency.ts 190B
folder
components 文件夹
folder
Button 文件夹
file
index.tsx 362B
file
styles.ts 381B
folder
Incident 文件夹
file
index.tsx 738B
file
styles.ts 735B
folder
assets 文件夹
folder
images 文件夹
folder
logo 文件夹
file
logo@2x.png 4KB
file
logo@3x.png 6KB
file
logo.png 2KB
file
Router.tsx 820B
file
babel.config.js 107B
file
tsconfig.json 258B
folder
assets 文件夹
file
splash.png 111KB
file
favicon.png 1KB
file
icon.png 7KB
file
adaptive-icon.png 48KB
file
App.tsx 219B
file
.editorconfig 228B
file
app.json 644B
file
.gitignore 118B
file
package.json 1KB
...
zip 文件大小:632.37KB