Coder Social home page Coder Social logo

java-docker-day-1's Introduction

Java Docker Day 1 Exercise

Learning Objectives

  • Create a Spring Application with the usual end points
  • Practice deploying the Spring Application to a Docker Container

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 students attending a bootcamp.

The data for students should include:

  • Unique ID
  • First Name
  • Last Name
  • Date of Birth
  • Course Title
  • Start Date for Course
  • Average Grade

Your API should connect to an ElephantSQL database instance that can be used for storing the data.

Create a jar file for the completed application make sure it is excluded from your GitHub solution!!!!!

Create a Dockerfile and any other associated files to allow you to deploy the application using a Docker Container save it and the jar file to a sensible folder in your project (make sure the JAR file does not get pushed to GitHub).

Exclude your application.yml file from GitHub as normal.

To assess this we will clone your repository, add our own credentials to the cloned repository and use those to test that the application works as expected.

Extension

In addition to the Student details add in details of different Courses and reference them from the Student details as a Foreign Key relationship. The endpoints for Courses should be completed as expected.

java-docker-day-1's People

Contributors

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