Chuyển tới nội dung chính

Thông tin Mã nguồn mở

Dự án Smart Forecast được xây dựng trên nền tảng các thư viện và framework mã nguồn mở. Tài liệu này liệt kê các dependencies chính và license tương ứng.


License của dự án

Smart Forecast được phát hành dưới giấy phép MIT License - một trong những giấy phép mã nguồn mở phổ biến và linh hoạt nhất.

MIT License

Copyright (c) 2025 NEU DataVerse

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

Backend (NestJS)

Core Framework

PackageVersionLicenseMô tả
@nestjs/core^11.0.1MITNestJS core framework
@nestjs/common^11.0.1MITNestJS common utilities
@nestjs/platform-express11.1.8MITExpress adapter
@nestjs/config4.0.2MITConfiguration module
@nestjs/swagger11.2.3MITOpenAPI documentation

Database & ORM

PackageVersionLicenseMô tả
typeorm0.3.27MITTypeScript ORM
@nestjs/typeorm11.0.0MITTypeORM integration
pg8.16.3MITPostgreSQL client

Authentication

PackageVersionLicenseMô tả
@nestjs/jwt11.0.1MITJWT module
@nestjs/passport11.0.5MITPassport integration
passport-jwt4.0.1MITJWT strategy
bcrypt6.0.0MITPassword hashing
google-auth-library10.5.0Apache-2.0Google Auth

HTTP & Storage

PackageVersionLicenseMô tả
axios^1.7.9MITHTTP client
axios-retry4.5.0Apache-2.0Retry logic
minio8.0.6Apache-2.0MinIO S3 client
firebase-admin13.6.0Apache-2.0Firebase Admin SDK

Web Frontend (Next.js)

Core Framework

PackageVersionLicenseMô tả
next15.5.6MITNext.js framework
react19.1.0MITReact library
react-dom19.1.0MITReact DOM

UI Components (Radix UI)

PackageVersionLicenseMô tả
@radix-ui/react-dialog1.1.15MITDialog
@radix-ui/react-dropdown-menu2.1.16MITDropdown
@radix-ui/react-select2.2.6MITSelect
@radix-ui/react-tabs1.1.13MITTabs
@radix-ui/react-checkbox1.3.3MITCheckbox
@radix-ui/react-switch1.2.6MITSwitch

Styling

PackageVersionLicenseMô tả
tailwindcss^4MITUtility CSS
tailwind-merge3.4.0MITClass merger
class-variance-authority0.7.1Apache-2.0CSS variants

Maps & Charts

PackageVersionLicenseMô tả
leaflet1.9.4BSD-2-ClauseMaps
react-leaflet5.0.0Hippocratic-2.1React wrapper
maplibre-gl5.13.0BSD-3-ClauseMapLibre GL
recharts3.4.1MITCharts

Mobile App (Expo)

Core Framework

PackageVersionLicenseMô tả
expo~54.0.25MITExpo SDK
react19.1.0MITReact
react-native0.81.5MITReact Native
expo-router~6.0.15MITFile routing

UI & Animation

PackageVersionLicenseMô tả
react-native-reanimated^4.1.5MITAnimations
react-native-gesture-handler~2.28.0MITGestures
expo-blur~15.0.7MITBlur effects
expo-linear-gradient~15.0.7MITGradients

Maps & Location

PackageVersionLicenseMô tả
@maplibre/maplibre-react-native^10.4.1BSD-3-ClauseMapLibre
expo-location~19.0.7MITLocation
react-native-maps1.20.1MITMaps

State & Data

PackageVersionLicenseMô tả
zustand^5.0.2MITState management
@tanstack/react-query^5.83.0MITData fetching
axios^1.13.2MITHTTP client

Infrastructure

FIWARE Components

ComponentLicenseMô tả
Orion-LDAGPL-3.0NGSI-LD Context Broker
Lưu ý về AGPL-3.0

Orion-LD sử dụng AGPL-3.0. Tuy nhiên, vì chúng ta chỉ sử dụng Orion-LD như một dịch vụ độc lập (chạy trong Docker container) và giao tiếp qua HTTP API, nên không ảnh hưởng đến license của mã nguồn Smart Forecast.

Databases

ComponentLicenseMô tả
PostgreSQLPostgreSQL LicenseRelational database
MongoDBSSPLNoSQL database
Lưu ý về SSPL

MongoDB sử dụng SSPL (Server Side Public License). Tương tự Orion-LD, MongoDB được sử dụng như dịch vụ độc lập nên không ảnh hưởng đến license của mã nguồn.

Storage

ComponentLicenseMô tả
MinIOAGPL-3.0S3-compatible storage
DockerApache-2.0Containerization

Kết luận

Smart Forecast có thể sử dụng MIT License mà không vi phạm bất kỳ license nào của dependencies.


Tham khảo

LicenseLinkMô tả
MITopensource.orgPermissive license
Apache-2.0apache.orgPermissive with patent grant
BSDopensource.orgPermissive
AGPL-3.0gnu.orgStrong copyleft

Tiếp theo