Giter Site home page Giter Site logo

marco-amorim / people-manager Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.49 MB

PeopleManager is a web application to easily manage people, developed with Java (Spring Boot) + React + MySQL

Java 57.86% HTML 0.91% TypeScript 38.77% Dockerfile 2.46%

people-manager's Introduction

PeopleManager

  • Web application to easily manage people
  • Developed with Java (Spring Boot) + React + MySQL

Executing the project

Requirements

Docker
Node 15.10.0
Java 8
Maven 3.6.3
MySQL 5.7

Docker version

  • This option generates an automated environment with a single command, which starts all you need to use the application (Frontend, Backend and Database)

Instructions:

  • Inside the root project folder execute the command docker-compose up --build
  • Frontend will run on localhost:3000
  • Backend will run on localhost:8080
  • MySQL will run on port 3306
  • Please make sure you don't have any other applications running on those ports before executing docker
  • To shut down the whole project, also inside the root project folder execute docker-compose down

Manual Version

  • This option takes more work to execute, but it's also available, remember to check the software versions requirements before starting

Instructions:

Frontend:

  • Inside the frontend folder execute the command npm install to install all the dependencies
  • Once all the dependencies are installed simply execute npm start
  • The application will run on localhost:3000 by default

Database:

  • Inside /backend/src/main/resources there is a file called application.properties which specifies the database to be used in the application, the property is as follows:
spring.datasource.url=jdbc:mysql://localhost:3306/peoplemanager?useSSL=false
  • Manually create this database on MySQL using the same specified port 3306
  • Make sure you created the database before proceeding to the Backend setup

Backend:

  • Make sure you have Java 8 installed
  • Inside the backend folder execute the command mvn clean install to install all the dependencies
  • Open the backend folder in your favorite IDE and execute the project
  • The application will run on localhost:8080 by default

Swagger API Docs

  • To check out the API docs navigate to http://localhost:8080/swagger-ui.html

Tests

  • To run all tests follow the instructions below

Instructions:

  • Open the backend folder in your IDE
  • Navigate to /src/test/java/com.softplan.people.manager/
  • In there you will find the PeopleManagerApplicationTestsclass, execute it to run all tests

people-manager's People

Contributors

marco-amorim avatar dependabot[bot] avatar

Watchers

James Cloos 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.