Boilerplate for creating a fullstack application on NestJS and Angular
https://fullstack.nestjs-mod.com - live demo on Kubernetes
https://nestjs-mod-fullstack.vercel.app - live demo on Vercel
Infrastructure is running using docker-compose, applications are launched in watch pm2 mode.
git clone git@github.com:nestjs-mod/nestjs-mod-fullstack.git
cd nestjs-mod-fullstack
npm i
cp ./example.env ./.env
npm run pm2-full:dev:start
npm run pm2-full:dev:test:e2e
npm run pm2-full:dev:stop
Infrastructure is running using docker-compose, built applications are launched using pm2.
git clone git@github.com:nestjs-mod/nestjs-mod-fullstack.git
cd nestjs-mod-fullstack
npm i
cp ./example.env ./.env
npm run pm2-full:prod:start
npm run pm2-full:prod:test:e2e
npm run pm2-full:prod:stop
Infrastructure and applications built into Docker images are run using docker-compose.
git clone git@github.com:nestjs-mod/nestjs-mod-fullstack.git
cd nestjs-mod-fullstack
npm i
cp ./example.env ./.env
npm run docker-compose-full:prod:start
npm run docker-compose-full:prod:test:e2e
npm run docker-compose-full:prod:stop
Infrastructure is running on Supabase, applications are launched in watch pm2 mode.
git clone git@github.com:nestjs-mod/nestjs-mod-fullstack.git
cd nestjs-mod-fullstack
npm i
cp ./example-supabase.env ./.env
-
Create organization and project on Supabase
-
Create bucket "images" in storage (example link: https://supabase.com/dashboard/project/XXX/storage/buckets)
-
Create new "S3 Access Keys" with "Access key ID" and "Secret access key" (example link: https://supabase.com/dashboard/project/gustcjgbrmmipkizqzso/settings/storage)
-
Open
.env
and fill empty_value's# https://supabase.com/dashboard/project/XXX/settings/api - API Settings - Project URL - URL SUPABASE_URL=empty_value # https://supabase.com/dashboard/project/XXX/settings/database?showConnect=true - Connection String - Direct connection POSTGRES_URL=empty_value # https://supabase.com/dashboard/project/XXX/settings/api - API Settings - Project API Keys - anon public SUPABASE_ANON_KEY=empty_value # https://supabase.com/dashboard/project/gustcjgbrmmipkizqzso/settings/storage - S3 Access Keys - New access key - Access key ID SERVER_MINIO_ACCESS_KEY=empty_value # https://supabase.com/dashboard/project/gustcjgbrmmipkizqzso/settings/storage - S3 Access Keys - New access key - Secret access key SERVER_MINIO_SECRET_KEY=empty_value
-
Create and fill all need new env keys
npx --yes tsx update-files-for-vercel.ts
npm run pm2-supabase-full:dev:start
npm run pm2-supabase-full:dev:test:e2e
npm run pm2-supabase-full:dev:stop
- https://fullstack.nestjs-mod.com - live demo on Kubernetes
- https://nestjs-mod-fullstack.vercel.app - live demo on Vercel
- https://github.com/nestjs-mod/nestjs-mod - A collection of utilities for unifying NestJS applications and modules
- https://github.com/nestjs-mod/nestjs-mod-contrib - Contrib repository for the NestJS-mod
- https://github.com/nestjs-mod/nestjs-mod-example - Example application built with @nestjs-mod/schematics
- https://github.com/nestjs-mod/nestjs-mod/blob/master/apps/example-basic/INFRASTRUCTURE.MD - A simple example of infrastructure documentation.
- https://github.com/nestjs-mod/nestjs-mod-contrib/blob/master/apps/example-prisma/INFRASTRUCTURE.MD - An extended example of infrastructure documentation with a docker-compose file and a data base.
- https://dev.to/endykaufman/collection-of-nestjs-mod-utilities-for-unifying-applications-and-modules-on-nestjs-5256 - Article about the project NestJS-mod
- https://habr.com/ru/articles/788916 - Коллекция утилит NestJS-mod для унификации приложений и модулей на NestJS
For questions and support please use the official Telegram group. The issue list of this repo is exclusively for bug reports and feature requests.
- Author - Ilshat Khamitov