denoland /
deno
A modern runtime for JavaScript and TypeScript.
96/100 healthLoading repository data…
guigeniubi / repository
A modern and minimal Next.js starter template with TypeScript, ESLint, Prettier, and Tailwind CSS.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
基于 NextJS 14 和 Tailwind CSS 构建的网站。
yarn
yarn dev
feat/**devmain新特性开始时从 main 分支创建开发分支 dev-[date],开发完后合入 dev 分支发布 UAT 进行测试,测试通过后合并到 main 分支发布 Production 环境。
dev 分支更新后会自动触发 docker 镜像构建,构建镜像好后由管理员或运维进行发布。
main 分支更新后会自动触发 docker 镜像构建,构建镜像好后由管理员或运维进行发布。
本项目使用 next-intl 实现国际化。
locales/: 存放不同语言的翻译文件,目前支持 en、 zh-Hans、zh-Hant 、ja 等多种语言useTranslations hook 在组件中获取翻译文本。<Link> 组件进行语言切换。next.config.js 文件以支持不同的语言。locales/ 目录下创建新的语言文件,例如 fr.json。next.config.js 文件中添加新的语言代码。useTranslations hook 获取新的语言的翻译文本。在 Server Component 中直接从 apis 里引入函数进行调用,需要将客户端传过来的 Cookie 传给服务端来实现鉴权透传,Next 层不做真正的鉴权。
Server Action 是 Next 14 新特性,可以实现在客户端直接调用服务端声明的函数来数据获取。
在一些特殊情况无法使用上述两种请求方式,就只能使用 route handler 来调用 apis 里的函数,然后使用普通的 XHR 来调用。例如 SSE 请求 /api/chat 路由。
本项目后端数据库采用 MongoDB。
.env 文件中,使用 MONGODB_URI 环境变量。src/lib/mongodb.ts 工具文件实现单例连接。src/app/api/user/route.ts)中可直接操作 MongoDB。本项目采用多层次的鉴权机制,确保用户访问安全和搜索引擎爬虫的正常工作。
getHeader() 获取带 token 的请求头,前端不做真正鉴权,后端根据 token 判断权限。本项目使用自定义脚本生成站点地图,以提高 SEO。
src/sitemap/: 生成脚本和相关数据public/sitemap/: 生成的站点地图文件node src/sitemap/index.js 生成最新站点地图public/sitemap/sitemap.xml 覆盖 public/sitemap.xmlSelected from shared topics, language and repository description—not editorial ratings.
denoland /
A modern runtime for JavaScript and TypeScript.
96/100 healthlerna /
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.
97/100 healthvbenjs /
A modern vue admin panel built with Vue3, Shadcn UI, Vite, TypeScript, and Monorepo. It's fast!
adonisjs /
AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.
95/100 healthwasp-lang /
A 100% free modern JS SaaS boilerplate (React, NodeJS, Prisma). Full-featured: Auth (email, google, github, slack, MS), Email sending, Background jobs, Landing page, Payments (Stripe, Polar.sh), Shadcn UI, S3 file upload. AI-ready with tailored AGENTS.md, skills, and Claude Code plugin. One cmd deploy. Powered by Wasp full-stack framework.
96/100 healthSnouzy /
🏋 Modern open-source fitness coaching platform. Create workout plans, track progress, and access a comprehensive exercise database.
94/100 health