Git Product home page Git Product logo

leipzig-tech-ba's People

Contributors

fabbby avatar fwenzel20 avatar jeremypuchta avatar tzschiet avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tzschiet

leipzig-tech-ba's Issues

Filtering

Filter options for district and sector.

  • several parameters are to be searched with Or operation

Example:
GET /companies?name=GmbH&sectors=it-beratung,edv&districts=zentrum,suedvorstadt

Entries with it-beratung OR EDV..

Refactor file names

folgende Namenänderung wären cool (müsste nach CodeStandard für Kotlin/Java/Spring auch gültig sein):
RestController -> CompanyController
CompaniesService -> CompanyService
Companies_Repository -> CompanyRepository
Companies -> Company

GET /companies doesn't work after latest update

Case sensitive search doesn't work
I'm facing issues with the GET /companies endpoint. When I try to execute the request GET /companies?name=gmbh, I get an empty response. On the other hand, GET /companies?name=GmbH works as it should.

Search for sectors and districts doesn't work
Same goes for the options to filter for sections and districts. I get an empty response when searching for any sectors and districts.

/companies?sector=edv => []
/companies?district=zentrum => []

Konzept: Anreichern der Daten

Welche Daten wollen wir zusätzlich beziehen?
Woher sollen die Daten angereichert werden?

Akzeptanzkriterium:

  • Erstellen eines Konzeptes zum anreichern der Daten

Possibility to register via E-Mail

As a user I want to be able to register via E-Mail.

Would include setting up mailserver and mx rr if mails should be send from @leipzigtech.de.
Or maybe use smtp server from google and another address to send from.

Provide a RESTful API for Companies

As a Frontend Developer, I want to get access to the companies resource via a REST API so that I can use the resources and process them in the frontend.

Acceptance Criteria

  • GET /companies -> Returns all companies
  • GET /companies/:id -> Returns a specific company with a given id

The following query parameter should be supported by the upper endpoints:

  • name -> Name of the company / String
  • fuzzy -> Enable fuzzy search / Boolean (default: true)
  • orderBy -> Order of results / Enum with Values ASC (ascending) and DESC (descending) (default: ASC)

Example Request

GET /companies?name=micro&orderBy=DESC would search for all companies in the database that match the term micro since fuzzy search is enabled on default, then it would return all retrieved companies in descending order.

  • POST /companies -> Creates a new company based on a given JSON payload
{
  "name": "Microsoft",
  "address": "One Microsoft Way",
  "sector": "Information Technology"
}

Data cleaning and aggregation

Data Cleaning

  • Removal of industries such as "alarm systems" or "lawyers" from the database

Data Aggregation

  • Aggregation of the different industries/sector
    Bsp. IT-Beratung / IT-Consulting / Unternehmensberatung --> IT-Consulting

Augenoptik -> Medicine
Bildungseinrichtungen -> Education
Bürobedarf -> Services
Coaching -> Education
Computer -> Services
Computer-Dienstleitungen -> Services
Computerreparaturen -> Services
Detekteien (lol?) -> Legal
EDV -> Software Engineering
EDV-Beratungen -> Consulting
EDV-Dienstleistungen -> Software Engineering
Geografische Informationssysteme -> Environment
IT-Beratung -> Consulting
IT-Dienstleistungen -> Software Engineering
Ingenieurbüros -> Engineering
Internetservice -> Softwareentwicklung
Nachrichtenagenturen -> News
Netzwerke -> (Computer) Networking
Notare (lol?) -> Legal
Personalberatung -> Human Resources
Personaldienstleistungen -> Human Resources
Rechtsanwälte -> Legal
Software -> Software Engineering
Steuerberatung -> Accounting
Unternehmensberatung -> Consulting
Versicherungen -> Insurance
Webdesign -> Design
Werbefotografie -> Advertising

Computer -> Services
Computer-Dienstleitungen -> Services
Computerreparaturen -> Services
EDV -> Software Engineering
EDV-Dienstleistungen -> Software Engineering
IT-Dienstleistungen -> Software Engineering
Internetservice -> Softwareentwicklung
Netzwerke -> (Computer) Networking

Company statistics

new interface for statistics needed

GET /companies/stats
The response should be a JSON with the following content:

  • The number of all companies in our database
  • Companies broken down by industry
  • Companies broken down by city district
  • Number of companies that have entered the last 7 days
  • Number of companies that have entered the last 30 days

Example:

{number: 100, numberBySector: {'IT': 5, 'Hardware': 5, ...}, numberByDistrict: {'Zentrum': 41, 'Suedvorstadt': 23, ...}}

  number: int,
  numberBySector: int,
  numberByDistrict: int,
  joinedSince7: int,
  joinedSince30: int
}

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.