Work With Us

We train, develop and hire directly from our intern pool. High School, Undergraduate and Graduate Level students with interests in business, library science, data science, economics, urban planning, public administration and information technology are welcome to apply to any of the positions below:

// Import the necessary Firebase modules import { initializeApp } from "firebase/app"; import { getFirestore, collection, addDoc, serverTimestamp } from "firebase/firestore"; // Your Firebase configuration const firebaseConfig = { apiKey: "AIzaSyBQH8AyjLWh8EWs25PMYxHawMlpTTUzH38", authDomain: "business-database-56495.firebaseapp.com", projectId: "business-database-56495", storageBucket: "business-database-56495.firebasestorage.app", messagingSenderId: "345364293002", appId: "1:345364293002:web:30e85d1722c6b487809473", measurementId: "G-15S88CF8P8" }; // Initialize Firebase const app = initializeApp(firebaseConfig); const db = getFirestore(app); // Wait for the DOM to load document.addEventListener('DOMContentLoaded', function () { const form = document.querySelector('#customForm'); // Make sure this matches your form's ID in Webflow form.addEventListener('submit', async function (event) { event.preventDefault(); // Prevent default Webflow submission // Retrieve form data const formData = new FormData(form); const income = formData.get('incomeInput'); // Match input field 'name' attributes const revenue = formData.get('revenueInput'); const investments = formData.get('investmentsInput'); const unitsSold = formData.get('unitsSoldInput'); const numClients = formData.get('numClientsInput'); const industry = formData.get('industryInput'); // Save data to Firebase Firestore try { const docRef = await addDoc(collection(db, 'BusinessData'), { income: parseFloat(income), revenue: parseFloat(revenue), investments: parseFloat(investments), unitsSold: parseInt(unitsSold), numberOfClients: parseInt(numClients), industry: industry, createdAt: serverTimestamp(), }); alert('Data saved successfully! Document ID: ' + docRef.id); form.reset(); // Reset form after successful submission } catch (error) { console.error('Error adding document: ', error); alert('Failed to save data. Please try again.'); } }); });