<aside> 💡 Notion Tip: Kickstart your project by responding to the prompts in the toggles below. Add more context to your answer by embedding links, images, files, and other blocks.
</aside>
To ensure a consistent development environment across the team, all contributors must configure the following prerequisites:
npm install in the root directory to initialize the required project dependencies (e.g., Express.js, Puppeteer, Firebase Admin SDK).PROJECT_ID and LOCATION for Google Cloud Vertex AI (Gemini API) authentication.IG_USERNAME and IG_PASSWORD for the Instagram data scraper.config/firebase-service-account.json. (Note: This file is intentionally .gitignored to prevent credential leaks).3000.The repository is strictly version-controlled via GitHub (
main branch) and is segmented into distinct architectural layers:
server/): Houses the primary Express.js API, logically organized into routes/, controllers/, and models/.services/): Manages external third-party logic, notably the AI integration within gemini.js.scripts/ & tools/): Contains standalone automation tools, such as scrape-instagram.js for scheduled data ingestion and seed-events.js for database population.data/images/), caching directories (.user_data/), and environment configs remain excluded from commits as per the .gitignore policy.To maintain alignment across the backend API, the web scrapers, and the frontend integrations, the team will adhere to the following sync cadence: