https://github.com/hmake98/nestjs-starter
๐ NestJS starter boilerplate with Basic Authentication, Swagger docs, Containerized - k8S confguration and Testing
https://github.com/hmake98/nestjs-starter
boilerplate docker docker-compose jest-tests kubernetes nestjs postgres redis typescript
Last synced: about 1 year ago
JSON representation
๐ NestJS starter boilerplate with Basic Authentication, Swagger docs, Containerized - k8S confguration and Testing
- Host: GitHub
- URL: https://github.com/hmake98/nestjs-starter
- Owner: hmake98
- License: mit
- Created: 2021-08-21T09:12:48.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-02-09T05:33:18.000Z (over 1 year ago)
- Last Synced: 2025-03-06T16:01:50.118Z (over 1 year ago)
- Topics: boilerplate, docker, docker-compose, jest-tests, kubernetes, nestjs, postgres, redis, typescript
- Language: TypeScript
- Homepage:
- Size: 3.73 MB
- Stars: 12
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NestJS Starter Boilerplate
[](https://github.com/hmake98/nestjs-starter/actions/workflows/github-code-scanning/codeql)
[](https://github.com/hmake98/nestjs-starter/actions/workflows/main.yml)
Features:
โ
Basic Authentication
๐ Swagger API Documentation
๐ณ Containerized with Docker
โธ๏ธ Kubernetes Configuration
๐งช Testing Setup
## Installation
```bash
$ yarn
```
## Running Server
```bash
# development
$ yarn dev
# production
$ yarn start
```
## Running all services on Docker
```bash
docker-compose up --build
```
## Run only database and redis services on Docker
```bash
docker-compose up postgres redis
```
## Build
```bash
yarn build
```
## Tests
```bash
# unit tests
$ yarn test
```
## Swagger Documentation
- Swagger documentation endpoint will be running at `/docs` .
## K8s Deployment Local
```bash
# first start minikube
minikube start
# deployment
kubectl apply -f k8s/
# get endpoint of k8s cluster
minikube service nestjs-starter-service
```
## Support
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).
## License
Nest is [MIT licensed](LICENSE).
## Author
๐ฎ๐ณ Harsh Makwana
[Github](https://github.com/hmake98/nestjs-starter)
[Linkedin](https://www.linkedin.com/in/hmake98)
[Instagram](https://www.instagram.com/hmake98)