المشاريع
عرض على GitHub
thisismydesign/next-nest
حول
تطبيق MVC أحادي البنية باستخدام Next.js وNestJS للتطوير السريع وفق معايير مجرّبة في بيئات الإنتاج.
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلnext-nest
Next.js + NestJS MVC monolith for rapid development with battle-tested standards.
- Build a web app using the most popular JavaScript backend and frontend frameworks.
- Get started in minutes with a unified codebase - no need to sync or deploy multiple services.
- Use typed DB data directly in React via GraphQL and SSR.
- End-to-end type safety from database to forms.
- When the time is right, you can easily split the frontend and backend into separate services.
Featured in:
- Geek Culture: NestJS + React (Next.js) in One MVC Repo for Rapid Prototyping
- Geek Culture: Automagically Typed GraphQL Queries and Results With Apollo
- JavaScript in Plain English: OAuth2 in NestJS for Social Login (Google, Facebook, Twitter, etc)
- JavaScript in Plain English: Cognito via OAuth2 in NestJS: Outsourcing Authentication Without Vendor Lock-in
Stack
It has
- Example REST and GraphQL modules, DB using TypeORM as seen on https://docs.nestjs.com/
- Next.js integration for React on the frontend (howto article)
- Typed queries & results with GraphQL out of the box (howto article)
- Authentication via Passport.js including Social providers (howto article), AWS Cognito (howto article), and JWT strategy for REST and GraphQL
- Docker setup
- Typescript, ESLint
- CI via GitHub Actions
- Running tasks (e.g. DB seeding) via nest-commander
- Background jobs on Postgres via pg-boss, no Redis needed
- Unit and integration testing via Vitest, browser testing via Playwright
- Google Analytics 4
Dev
mise install
cp .env.example .env
pnpm install
docker compose up -d db
pnpm build && pnpm typeorm migration:run && pnpm cli seed
pnpm start:dev
Then open http://localhost:3000. The landing page lists every route.
Checks
pnpm lint
pnpm typecheck
pnpm test
pnpm build
pnpm e2e # in Google Chrome; starts the production build, or reuses a running app
Deploy
Dockerfile builds a production image. Run migrations and the seed on release, inside the image:
node node_modules/typeorm/cli.js -d dist/data-source.js migration:run && node dist/cli seed
The app reads its configuration from the environment; see .env.example.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…