Coder Social home page Coder Social logo

java-docker-day-2's Introduction

Java Docker Day 2 Exercise

Learning Objectives

  • Create a Spring Application with the usual end points
  • Practice deploying the Spring Application to a Docker Container
  • Use a separate container to host a PostgreSQL database
  • Use docker-compose to orchestrate creating and running your containers

Instructions

  1. Fork this repository
  2. Clone your fork to your machine
  3. Open the project in IntelliJ

Core

Create an API with the usual GET/PUT/POST/DELETE endpoints.

The API should serve user data for a Micro-Blogging platform (something like Twitter).

Work out some sensible tables for a basic version of this that will allow a single user to use the platform to make posts etc.

Your API should connect to PostgreSQL database instance that will run in a local container.

Create a jar file for the completed application.

Use docker-compose to create the appropriate images and orchestrate running them together, it should also manage the connection details for the database.

To assess this we will clone your repository, and use your docker-compse.yml file to generate the appropriate images and run them.

Extension

In addition to the basic single user Micro-Blogging platform add the ability for it to have multiple users, who can interact with each other's posts (friend lists, upvotes, reposting etc).

java-docker-day-2's People

Contributors

amos1969 avatar enock97 avatar vherus 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.