Added backend server

This commit is contained in:
thoenykaroli committed 2026-04-10 21:31:16 +02:00
1 parent 91c2ab054d
commit 085e7ffd73
612 files changed
+67073 -3

No files matched your search

+1 -3
View File
@@ -1,7 +1,5 @@
const API_KEY = "0FLYFe9BnzGlk2OPHrWleCulNzHpWgtC";
export async function fetchEvents(city) {
const url = `https://app.ticketmaster.com/discovery/v2/events.json?apikey=${API_KEY}&city=${city}`;
const url = `http://localhost:3000/api/events?city=${city}`;
try {
const response = await fetch(url);