If your setup already has some of the required tools installed, please adjust accordingly.
- Install Node 12.14.1 from here https://nodejs.org/en/blog/release/v12.14.1/
- Run
npm install -g [email protected]
- Run
npm install -g @angular/[email protected]
- Verify your versions with
ng version
:
Angular CLI: 12.2.4
Node: 12.14.1
Package Manager: npm 7.23.0 - Install a new version of IntelliJ
- Clone the master branch with
git clone https://github.com/Cyberdog52/hackathon.git
- Open the project with IntelliJ and let gradle build the project
- Install the npm dependencies with
cd frontend
followed bynpm install
During the hackathon your team can decide to use a custom branch on this GitHub repository or to fork it to your own private repository.
- Start the backend either by
You should be able to open the Swagger endpoint documentation at http://localhost/swagger-ui.html
.
- By executing
cd frontend
followed bynpm start
- Or by creating a run configuration of type npm pointing to hackathon\frontend\package.json with the script ** start**
You should now be able to open http://localhost:4200
to access the frontend.
Now you should see the following screen:
We highly encourage you to use the Insight API.
You can find the API documentation in json format at https://insight.zuehlke.com/swagger/docs/v1 (VPN access required)
.
To test the endpoints and to have a better overview of the API, we recommend you to import this API into Postman.
Unfortunately the official Swagger documentation at
https://insight.zuehlke.com/swagger/ui/index
is not working at the time of this writing. Here is how you can test the Insight API locally:
- Install Postman from https://www.postman.com/downloads/
- On the top-left corner in Postman click Import and select Link
- Enter https://insight.zuehlke.com/swagger/docs/v1 in the link and press Continue
- On the next screen, you can verify the collection name (WebApi), format (Swagger 2.0) and Import as (API). Click ** Import**. This may take a while.
- You will see the new collection 'WebApi' under collections
- For any request you will have to adjust the Auth tab to be Basic Auth. User: your Zuehlke email address. Password: your Zuehlke password. Be careful that you do not share this!
-
RapidApi: Overview of a large collection of APIs
-
Weather
-
Google Maps
-
Reddit
-
Twitter
-
Youtube
-
LinkedIn
-
Tmdb The Movie Database
-
Microsoft Teams
-
Microsoft Outlook