GithubHelp home page GithubHelp logo

davidopdebeeck / ng2boot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cegeka/ng2boot

0.0 3.0 2.0 148 KB

Walking skeleton of Angular 2 + SpringBoot

License: Apache License 2.0

Java 56.21% TypeScript 24.41% JavaScript 6.24% HTML 1.23% CSS 0.25% Groovy 11.66%

ng2boot's Introduction

Introduction

This repo serves as a walking skeleton for a single gradle project containing a frontend with its backend. Just so you can get kickstarted in setting up a similar project, and don't have to mess about too much.

It contains a jenkinsfile so you can create a Jenkins 2 pipeline job to get CI running.

This will build both UI and backend projects and package test run results from both JUnit and Karma.

Deliverables

On successful build, you'll have one ng2boot-0.0.1-SNAPSHOT.ear file, containing an ng2boot-rest.war and an ng2boot-ui.war.

It's safely deployable to a WildFly application server, because of the jboss-deployment-structure's exclusions in the main projects build.gradle.

Stack

UI

The UI is an Angular 2 SPA, initially generated with Angular-CLI.

Backend

The backend is SpringBoot 1.4.2, using Jersey instead of Spring-MVC, AssertJ for improved assertions, Mockito as mock framework and component based packaging.

Database provisioning (and batteries) not included

This project was lazily scaffolded from a project that had an Oracle XE locally installed on dev machines and Jenkins. I'm gonna assume that you're wise enough to provision your own database using docker or also locally install your required database everywhere you need.

Stuff you'll need to change

Change or remove nexus credentials in ng2boot-rest/gradle.properties. These are used in ng2boot-rest/build.gradle.

Change or remove your-nexusurl.com in ng2boot-rest/build.gradle.

Change the jenkins credentials (github_jenkins_key) to access your github repository in ng2boot.jenkinsfile.

Add/uncomment and change the jdbc driver in ng2boot-rest/build.gradle.

ng2boot's People

Contributors

davidopdebeeck avatar sch3lp avatar

Watchers

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