Skip to content

Instantly share code, notes, and snippets.

View shabbirdwd53's full-sized avatar
👋

Shabbir Dawoodi shabbirdwd53

👋
View GitHub Profile

API Documentation with Swagger

You can imlement API Documentation in 4 easy steps

Step 1

Add the below dependency in your Spring boot project in POM.xml file

package com.dailycodebuffer.streamapi;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.Stream;
@SpringBootApplication
@shabbirdwd53
shabbirdwd53 / docker-compose.yml
Created August 20, 2020 12:03
Kakfa Server installation using Docker
version: "3"
services:
zookeeper:
image: 'bitnami/zookeeper:latest'
container_name: zookeeper
ports:
- '2181:2181'
environment:
- ALLOW_ANONYMOUS_LOGIN=yes
kafka:

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database