Giter Club home page Giter Club logo

student-mgr's Introduction

Getting Started

Microservice app

Project Setup

  1. Install MySQL Server, mySql Workbench, or use DBeaver or an equivalent DBMS that can run MySQL DBS
  2. Alternatively, run mySQL container using docker for easy setup.
  3. Run app using mvn clean install, or mvn spring-boot:run

Java Version: 11

Run Commands

Running Locally without Docker

This instructions will invoke configurations defined in application.properties (Default profile). This will run the app in the local environment.

Make sure a SQL server is running locally. Take note of the port it is listening to (usually 3306) If SQL server is not listening on port 3306, configure it to run on port 3306.

Otherwise, check application.properties datasource field. Make sure the url is pointing to the right port and that the credentials are correct.

spring.datasource.url=jdbc:mysql://localhost:3306/peerTutor?createDatabaseIfNotExist=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.username=root
spring.datasource.password=my-secret-pw

Then, start spring boot app with either of these commands:

mvn spring-boot:run
mvn clean install

student-mgr's People

Contributors

0blivious avatar chibipaper avatar

Forkers

0blivious

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.