jeremypuchta / leipzig-tech-ba Goto Github PK
View Code? Open in Web Editor NEWBackend for an central repository of tech companies in Leipzig
Backend for an central repository of tech companies in Leipzig
Filter options for district and sector.
Example:
GET /companies?name=GmbH§ors=it-beratung,edv&districts=zentrum,suedvorstadt
Entries with it-beratung OR EDV..
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
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
=> []
Hosting-Lösung suchen/Pipeline aufsetzen
Welche Daten wollen wir zusätzlich beziehen?
Woher sollen die Daten angereichert werden?
Akzeptanzkriterium:
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.
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
The following query parameter should be supported by the upper endpoints:
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.
{
"name": "Microsoft",
"address": "One Microsoft Way",
"sector": "Information Technology"
}
When I try to submit a request from the client to GET "/companies" with the new filtering feature I receive the error which is displayed in the attached screenshot.
To resolve this issue it's probably necessary to set the Access-Control-Allow-Origin header to '*'. More about that here: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin
Implement as CRON-Job
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
GET /companies/stats
The response should be a JSON with the following content:
Example:
{number: 100, numberBySector: {'IT': 5, 'Hardware': 5, ...}, numberByDistrict: {'Zentrum': 41, 'Suedvorstadt': 23, ...}}
number: int,
numberBySector: int,
numberByDistrict: int,
joinedSince7: int,
joinedSince30: int
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.