Skip to content

TechLabs-Berlin/ws24-local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CD into Local folder

React-native Expo (to visualize the app, I used expo go and/or iOS Simulator)

You might nneed to install additional libraries like:

react-native-async @react-navigation/native @react-navigation/bottom-tabs @expo/vector-icons { MaterialIcons, MaterialCommunityIcons, Fontisto, Entypo, Feather, FontAwesome, Ionicons [didn't manage to access/use Material-Symbols, therefore I had to use so many Icon-Families to get the ones more similar to the ones needed] } @expo-google-fonts/inter {Inter_400Regular, Inter_700Bold, Inter_500Medium, Inter_300Light }

npx expo start -c

for the server:

CD into local3

install dependencies {if needed}

venv, Flask, jsonify, request, python3 Pandas CORS re

  • python3 /your_directory_folder/local3/local_api3.py

you will find a couple of extra files for the things I was trying but didnt manage to get to work.

change API url and port before the endpoint in:

Bookmarkhelper SearchData SavedPage HomePage EventCard .js files to point to your local flask

server logs samples:

INFO:werkzeug:�[31m�[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.�[0m

  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:5001
  • Running on http://192.168.1.218:5001 INFO:werkzeug:�[33mPress CTRL+C to quit�[0m INFO:werkzeug:192.168.1.102 - - [27/Mar/2024 16:23:14] "GET /events HTTP/1.1" 200 - INFO:root:Search query: C INFO:root:Filtered events: [{'id': 0, 'artist': 'A5iv3', 'summary': "They Call me A5iv3(A5) I'm From Saint Paul,MN Programming descriptions are generated by participants and do not necessarily reflect the opinions of SXSW.", 'genre': 'Hip-Hop / Rap', 'subgenre': nan, 'home': 'St. Paul, MN', 'audio': 'http://audio.sxsw.com/2019/mp3_by_artist_id/e5d0103bd8da8b9875ae079d6a50e2ea640c713be37b856fc3a76a96d21a693a.mp3', 'artistVenue': 'A5iv3 at Buffalo Billiards', 'date': 'Mar 14, 2019', 'time': nan, 'venue': 'Buffalo Billiards'}, {'id': 1, 'artist': 'AAerial', 'summary': 'A fictional story of a lone space traveler told through an auditory hallucination of Progressive/Djent/Metal/Rock music.Programming descriptions are generated by participants and do not necessarily reflect the opinions of SXSW.Artist is seeking the following professional connections: Label, Management, Brand Partnership, Gear Endorsement, Other Artists to Tour With, Booking Agent - US, Booking Agent - Worldwide, Producer/Studio Engineer', 'genre': 'Metal', 'subgenre': 'Progressive', 'home': 'Austin, TX', 'audio': 'http://audio.sxsw.com/2019/mp3_by_artist_id/a4a099aaded4da19e0e7011a792ccf6bf715d551492b631f74e482d18c717fbd.mp3',