GithubHelp home page GithubHelp logo

sergiopacheco / adventureworks Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 54.54 MB

Combination of Spring Boot, React and the SQL Server AdventureWorks2017 database (data model)

License: Apache License 2.0

Java 90.99% FreeMarker 0.03% JavaScript 8.65% HTML 0.18% CSS 0.14%

adventureworks's Introduction

adventureworks

Combination of Spring Boot, React and the SQL Server AdventureWorks2017 database (data model)

The parent project is broken down into three seperate child projects, 1. aw-entities 2. aw-services 3. aw-ui

The projects are all maven based, however the aw-ui does not have the npm plugin setup yet and is not hooked into the aw-services project and so can be run in standalone
mode using npm start. This will not however provide any connected functionality with aw-services.

The aw-entities project is setup to work with the MS SQL Server express edition. The database used is the Adventureworks2017 database. Here are the locations of those resources...

  1. MS SQL Server Express - https://www.microsoft.com/en-us/sql-server/sql-server-editions-express
  2. SQL Server Management Studio is the tool I use for DB management but you may use any tool you choose.
  3. The Adventureworks2017 backup (bak) file is located here: https://github.com/Microsoft/sql-server-samples/releases/download/adventureworks/AdventureWorks2017.bak

The persistence connectivity is setup to use SQL Server Authentication. Additionally the account that is used to login must be added to the various schemas used in the database or the connections used by JPA will fail. Simply create a user and add that user to each of the schemas and you will be fine.

The aw-services project is spring based and only partially functional. I recommend strongly using a tool such as Postman https://dl.pstmn.io/download/latest/win64 to perform interactions with the REST services for testing, etc.

The aw-ui project was created with Node and the create-react-app tool. Because the application structure has already been created, you will only require Node to execute the UI. Simply type npm start and the application will start and display in your browser.

  • There are prototype components in the aw-ui\src\resources folder which will certainly be moved at a minimum or deleted. So don't grow attached to them. Refactoring is our watchword.

The application is intended to be built using Jenkins and I use the 'Blue Ocean' plugin for that tool. This is what the functionality of the JenkinsFile for. It is required for Blue Ocean and can be used in Jenkins on its own also.

adventureworks's People

Contributors

jmresler avatar dependabot[bot] avatar

Forkers

bigbaddad68

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.