GithubHelp home page GithubHelp logo

motormates's Introduction

MotorMates

Eindopdracht novi backend

Doorloop de volgende stappen om deze applicatie te starten:

Installatie backend

Om dit bestand te kunnen bekijken is de volgende software nodig:

Java
https://www.java.com/nl/

Een IDE zoals bijvoorbeeld Intellij
https://www.jetbrains.com/idea/download/#section=windows

Git
https://git-scm.com/downloads

Postgress voor de database
https://www.postgresql.org/

Postman om endpoints te kunnen checken
https://www.postman.com/downloads/

Clone het project van de volgende github link:
https://github.com/JamyPut/MotorMates

In Intellij kan het project geopend worden.
Ga naar File | new | project from version control

Plak vervolgens de github link die je gecloned hebt in de url.
Maak een nieuwe map aan voor het project en klik op clone. Klik vervolgens op ‘trust project’. Het project zal openen in Intellij.

Dit project heeft versiebeheer van Maven.
Ga naar View | Tool windows | Maven
Er opent zich een zijvenster. Klap de folder uit.
Ga naar de map ‘lifecycle’.
Selecteer CLEAN en INSTALL (met ctrl) en klik op run.
Maven zal het project vervolgens bijwerken.

Open vervolgens het bestand application.properties
en plak de volgende tekst daarin


spring.datasource.url=jdbc:postgresql://localhost:5432/motormates spring.datasource.username=postgres spring.datasource.password=postgres123 spring.jpa.hibernate.ddl-auto=create-drop spring.jpa.show-sql=true spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation= true spring.jpa.properties.hibernate.format_sql=true

spring.servlet.multipart.max-file-size=5MB spring.servlet.multipart.max-request-size=5MB

server.error.include-message=always


Maak met deze gegevens een datasource aan in Intellij waarmee de verbinding met een postgress database kan worden gelegd

Hierna kan het project worden opgestart.

motormates's People

Contributors

jamyput avatar

Watchers

 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.