{"repo":"Vivify-Ideas/nestjs-boilerplate","free":true,"listed":false,"github":"https://github.com/Vivify-Ideas/nestjs-boilerplate","clone":"git clone https://github.com/Vivify-Ideas/nestjs-boilerplate.git","description":"NestJS Boilerplate 😻(Authentication, TypeORM, Configuration, Swagger)","language":"TypeScript","stars":650,"topics":["nestjs","typescript","swagger","restful-api","boilerplate"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"NestJS Boilerplate Description NestJS REST API boilerplate with TypeORM, MariaDB, JWT authentication, Swagger, Docker Compose, validation, and migrations. Requirements - Node.js compatible with the versions in package.json - Yarn - Docker + Docker Compose for the containerized workflow Quick start with Docker The init script will: 1. copy .env.example to .env when .env is missing; 2. generate a strong JWT SECRET KEY when it is empty or still set to changeme ; 3. build and start the Docker Compose stack; 4. wait for MariaDB to become ready; 5. run TypeORM migrations. After startup: - API through nginx: http://localhost:8080 - Swagger docs: http://localhost:8080/api/docs - MariaDB: localhost:3306 For IDE autocompletion on the host machine, run: Local development without Docker 1. Install dependencies: 2. Create and edit environment config: 3. Make sure MariaDB is running and that DB HOST , DB PORT , DB USERNAME , DB PASSWORD , and DB DATABASE match your local database. 4. Run migrations: 5. Start the app: Local app URL: http://localhost:3000 Environment variables Variable Description --- --- APP ENV Application environment. Use dev for local development. APP URL Value returned by the authenticated root endpoint. JWT SECRET KEY Required JWT signing secret. Must be at least 32 characters. JWT EXPIRATION TIME Optional JWT expiration time in seconds. CORS ALLOW ORIGIN Comma-separated allowed origins. Required outside dev . DB TYPE Database type. This project is configured for maria","default_branch":null,"files":null,"tree":[],"storefront":"/r/Vivify-Ideas","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Vivify-Ideas/nestjs-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}