GithubHelp home page GithubHelp logo

boats-backend3's Introduction

This project is meant as start code for CA-3 and exam projects, made by members of group CA2-2-Bornholm-B

Projects which are expected to use this start-code are projects that require all, or most of the following technologies:

  • JPA and REST
  • Testing, including database test
  • Testing, including tests of REST-API's
  • CI and CONTINUOUS DELIVERY

CA2

Preconditions

In order to use this code, you should have a local developer setup + a "matching" server on the internet, which you have admin access to.

Getting Started

This document explains how to use this code (build, test and deploy), locally with maven, and remotely with maven controlled by Github actions

Remember to edit the pom.xml so the URL specified in <remote.server> matches your server.

When you have got the project up and running, run the main method in SetupTestUsers to get a starting point with some test users.

JPA snippets

Create entities from database in Intellij (Persistence mappings)

  • From inside the Persistence window:
  • Right-click a persistence unit, point to Generate Persistence Mapping and select By Database Schema.
  • Select the
    • data source
    • package
    • tick tables to include
    • open tables to see columns and add the ones with mapped type: Collection and SomeEntity
    • click OK."# test-rep"

boats-backend3's People

Watchers

Thorbjørn Jensen 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.