Git Product home page Git Product logo

employee-registry-java-spring-angular's Introduction

Employee-Registry

This is a simple Angular / Java-Spring application designed to store employee data. All employee data is stored in a mySQL database which is handled using Hibernate and JPA. The UI primarily was built with Bootstrap and the frontend was built using Angular. The Angular code can be found in src/web.

Running the Demo

Prerequisites

You will need the following installed:

Required for Method 1

  • A mySQL database
  • JDK 11+ (built and tested with JDK 14)
  • A Java IDE
  • Node / Node Package Manager

Required for Method 2

  • Node / Node Package Manager
  • Docker

Running Demo - Method 1

This method requires a local running MySQL server, JDK installed and an IDE.

  1. Change the application.properties file in src/main/resources/ to match your mySQL database details.
  2. Start up the API by running EmployeeRegistry.java.
  3. cd into the src/web directory via Terminal and run npm install and then npm start.
  4. Visit localhost:4200 via your browser.

Running a Demo - Method 2

This way may be a bit more simpler but it requires Docker to run the API and the database. This method does not require JDK, an IDE or mySQL running locally but it does require Docker to be installed and properly configured.

  1. cd into the root project directory.
  2. Run docker-compose up.

This will spin up the API and the database and connect the two together. Then you can follow step 3 from method 1.

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.