/CRUD-boilerplate-Spring-boot_Angular4

An example CRUD REST web app with Angular4 material as frontend and JAVA Spring Boot as backend with JWT, Spring security and Oracle database.

Primary LanguageTypeScript

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


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

                                         
                                         

This project was generated by Skaffolder

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


--------------
PREREQUISITES
--------------

    - maven
    - jdk 1.7
    - Orcale Database


--------------
CONFIGURE DATABASE
--------------

Install in you maven repository the jar com.oracle.ojdbc14 version 10.2.0.2.0 you can download this jar registering at Oracle website from 
    http://www.oracle.com/technetwork/apps-tech/jdbc-10201-088211.html

Install OJDBC jar in maven with:
    mvn install:install-file -Dfile={Path/to/your/ojdbc14.jar} -DgroupId=com.oracle -DartifactId=ojdbc14 -Dversion=10.2.0.2.0 -Dpackaging=jar

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

Insert IP, user and pass of database on your properties file in src/main/webapp/WEB-INF/application.properties

--------------
START APPLICATION
--------------

If you are using Angular 4 frontend type:

	cd src/client
	npm install
	npm run build

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

    mvn jetty:run

This will start a lite java server on your pc and run the application.

Go to http://localhost:8080/Manage_Film_Example

--------------
CONFIGURE
--------------

For JAVA and database config edit
    src/main/webapp/WEB-INF/application.properties