Git Product home page Git Product logo

gsb-pratical-tests's Introduction

GSB-Pratical-Tests

This Repository contains all files related to the two pratical tests that you can find on this repository.

First Test - Teste java 1 portugues.pdf

The file Result.java contains the resolution to the given problem.

Second Test - Java Practical Test.pdf

The folder named "Application" contains all the files for the API and for the client side (front end) and server side.

The folder inside the Application folder named "Librarie" (it was suppose to be libraries, but for some reason i forgot the s), contains the library gson, the google library for java to handle json file. I used it to create a json object from a string, to use it as a response on the server side.

The folder inside the Application folder named "crud-rest-api" it is the server side code. It was written on Java 11 using spring boot. There's not much about it, it is a simple api that has only one entity, that is users, and it has all the crud operations to this entity.

To implement the api, it was used not only java 11 and spring boot, but also mysql as database. So in order to test it, you need mysql version 8 to run.

The folder inside the Application folder named "crudApp" contains the client side code. It was written using angular, and it was generated with Angular CLi 14.1.3 . To build the front end, i used a Bootstrap snippet in order to save some time. This snippet can be found on the following link https://www.bootdey.com/snippets/view/Contacts-Grid-Cards and it has MIT license, if i recall, so it can be used.

The App is supposed to be hosted on the AWS on the following link (if i remember there was no policy to restrict access) - http://crudappng.s3-website-us-east-1.amazonaws.com, but for some reason the API is returning 502.

UPDATE ABOUT AWS - 19/08/2022 - 01:51(Brazilian time) -> I've tried all fixes that i could see but nothing worked, it appeared some entityManagerFactory bean was supposed to be defined.

UPDATE ABOUT AWS - 19/08/2022 - 02:01(Brazilian time) -> found out that it could be some of the dependencies that i added. Removed them in order to try and fix it.

UPDATE ABOUT AWS - 19/08/2022 - 02:05(Brazilian time) -> didn't work.

gsb-pratical-tests's People

Contributors

hisck avatar

Watchers

 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.