Coder Social home page Coder Social logo

skaapp's Introduction

   _____ _          __  __      _     _           
  / ____| |        / _|/ _|    | |   | |          
 | (___ | | ____ _| |_| |_ ___ | | __| | ___ _ __ 
  \___ \| |/ / _` |  _|  _/ _ \| |/ _` |/ _ \ '__|
  ____) |   < (_| | | | || (_) | | (_| |  __/ |   
 |_____/|_|\_\__,_|_| |_| \___/|_|\__,_|\___|_|   

       _                  
      | |                 
      | | __ ___   ____ _ 
  _   | |/ _` \ \ / / _` |
 | |__| | (_| |\ V / (_| |
  \____/ \__,_| \_/ \__,_|

This project was generated by Skaffolder

For more documentation visit https://skaffolder.com/#/documentation


PREREQUISITES


  • Apache Maven
  • JDK 1.7
  • My SQL Database

CONFIGURE DATABASE


On database execute the SQL script script/schemaDb_SkaApp_db.sql generated in folder /script.


BUILD FRONTEND


  • If you are using Angular 4 frontend type:

    $ cd src/client
    $ yarn install
    $ yarn run build
  • If you want to keep updating frontend type:

    $ yarn run watch

START APPLICATION


  • To start the application open a command line in the project's folder an type:

    $ mvn spring-boot:run

    This will start a lightweight Java server on your pc and run the application.

  • Go to http://localhost:8080


START WITH DOCKER


  • To start the application with Docker:

    • Install Docker

    • Change db URL in src/main/resources/config/dev.properties to: mysql://database:27017

    • Run command:

      $ docker-compose up --build
    • Go to http://localhost:80

  • When code changes you need to rebuild container running:

    $ docker-compose up --build

SWAGGER API DOCS


You can find the swagger-ui page on: http://localhost:8080/swagger-ui.html


USING SKAFFOLDER-CLI


With Skaffolder-CLI you can easily manage your Skaffolder project from command line and customize your generator template from your IDE.

Install Skaffolder-CLI with

$ yarn install -g skaffolder-cli

Login running the command

$ sk login

Generate your project with the command

$ sk generate

You can customize your generator template working with files in .skaffolder folder in your project root.

Please refer to https://skaffolder.com/#/documentation/skaffolder-cli for more information.

skaapp's People

Contributors

bliotti 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.