Giter Club home page Giter Club logo

light-4j-mongo-db-api's Introduction

Swagger Light Java Server

Start server (with jar)

cd target
java -jar goswift-1.0-SNAPSHOT.jar

Start server (with mvn)

mvn package exec:java

Endpoints

  1. HTTP or HTTP endpoint (enable in server.yml)
https://localhost:8443/v1/pets 
http://localhost:8080/v1/pets
  1. Health Check (1.5x) https://localhost:8443/health/com.arjunsk.goswift-1.0-SNAPSHOT

  2. OAS3 (1.5x) https://localhost:8443/spec.yaml

  3. Swagger UI (1.5x) https://localhost:8443/specui.html

  4. Info (1.5x) https://localhost:8443/server/info

Done

  1. MongoDB connectivity established.
  2. Ran with proper logging config.
  3. Implemented all the endpoint.
  4. Proper Status codes.
  5. Postman Collection for testing.

TODO

  1. Error handling.
  2. Dynamic Content Loading using Json Placeholder.

GOOD TO HAVE

  1. Java Docs.
  2. Running in debug mode.
  3. Upgrade to 1.6x.

light-4j-mongo-db-api's People

Contributors

arjunsk avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.