Our great sponsors
-
basic-essentials-nestjs-backenda-api
Discontinued 🎉 Simple basic feature Backend API to running CRUD (Create, Read, Update, and Delete) Operations powered by Nestjs, Docker, Fly.io, and MongoDB
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Before jumping please explore and try to code by yourlsef or understand the flow. All of this code are placed in my repository You can clone or fork this repo to understand how it's work.
# Docker Compose Configuration # visit https://docs.docker.com/compose/ version: '3.8' services: # app service for your backend app: container_name: backend build: context: ./ dockerfile: Dockerfile environment: DATABASE_NAME: # DATABASE_NAME DATABASE_USER: # DATABASE_USER DATABASE_PASS: # DATABASE_PASS DATABASE_URI: # DATABASE_URI, example: mongodb://database:27017 ports: - '4000:4000' depends_on: - database # start the mongodb service as container database: image: mongo:6.0 container_name: mongodb restart: always ports: - '27017:27017' environment: MONGO_INITDB_ROOT_USERNAME: # DATABASE_NAME MONGO_INITDB_ROOT_PASSWORD: # DATABASE_USER