### Start the Server Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/MONGODB_SETUP.md Starts the application server. ```bash npm start ``` -------------------------------- ### Start Backend Server Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/EVENTURA_NETWORK_SETUP.md Command to start the backend server for the Eventura application. This is essential for API access and data management. ```bash npm start ``` -------------------------------- ### Start Application Server Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/docs/MONGODB_SETUP.md Commands to start the application server for development and production environments. ```bash # Development Mode npm run dev ``` ```bash # Production Mode npm start ``` -------------------------------- ### Project Setup and Dependency Installation Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/DEPLOYMENT_TUTORIAL.md Clones the project repository, navigates into the project directory, installs project dependencies using Flutter, and verifies the setup. ```bash # Clone the repository git clone cd eventura_app_flutter_code # Install dependencies flutter pub get # Verify setup flutter doctor ``` -------------------------------- ### Support Steps for Multi-Device Setup Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/MULTI_DEVICE_ACCESS.md Guidance on how to get help with the multi-device setup, including testing with a single device first, adding devices incrementally, checking network stability, and monitoring server logs. ```text 1. Test with one device first - Ensure basic access works 2. Add devices one by one - Verify each connection 3. Check network stability - Ensure WiFi is reliable 4. Monitor server logs - Check for connection issues ``` -------------------------------- ### Install Dependencies Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/MONGODB_SETUP.md Installs the necessary project dependencies using npm. ```bash npm install ``` -------------------------------- ### Automated Environment Setup Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/QUICK_SETUP.md Commands to automate the environment setup process using provided scripts. Supports both Windows PowerShell and cross-platform Python execution. ```powershell .\scripts\setup_env.ps1 setup ``` ```bash python scripts/setup_env.py setup ``` -------------------------------- ### Project Setup and Execution Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/COMPLETE_SETUP_README.md Instructions for cloning the repository, running the setup script, starting the backend server, and running the Flutter application. ```bash # Clone the repository git clone cd eventura_app_flutter_code # Run complete setup npm run setup # Start the backend server npm start # In a new terminal, start the Flutter app flutter run # Run comprehensive tests npm run test-full-stack ``` -------------------------------- ### Build Web App Example Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/farmhash-modern/README.md Instructions for building the web-app example, including installing dependencies and building the project for both farmhash-modern and the web-app itself. ```sh 1. Install dependencies for farmhash-modern: `yarn install` 2. Build farmhash-modern: `yarn build` 3. Install dependencies for web-app: `cd web-app && npm install` 4. Build the web-app: `cd web-app && npm build` ``` -------------------------------- ### Eventura API Information Endpoint Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/EVENTURA_NETWORK_SETUP.md Example URL to access general API information for the Eventura backend. ```javascript http://YOUR_IP_ADDRESS:42952/api ``` -------------------------------- ### Manual Environment Setup - Copy Template Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/QUICK_SETUP.md Command to copy the environment template file to a .env file for manual configuration. ```bash cp env_actual_values.txt .env ``` -------------------------------- ### Installing js-tokens Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/js-tokens/README.md Shows the npm command to install the js-tokens library and provides examples for both CommonJS and ES Module imports. ```js import jsTokens from "js-tokens" // or: var jsTokens = require("js-tokens").default ``` -------------------------------- ### Start Backend Server Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/MULTI_DEVICE_ACCESS.md Command to start the backend server, enabling multi-device support for the Eventura application. ```bash npm start ``` -------------------------------- ### Local MongoDB Installation (Linux - Ubuntu) Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/DEPLOYMENT_TUTORIAL.md Detailed steps for installing MongoDB Community Server on Ubuntu, including adding the repository, updating packages, and starting the service. ```bash # Import MongoDB public GPG key wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add - # Create list file for MongoDB echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list # Update package database sudo apt-get update # Install MongoDB sudo apt-get install -y mongodb-org # Start MongoDB sudo systemctl start mongod sudo systemctl enable mongod ``` -------------------------------- ### Install p-try Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/p-try/readme.md Install the p-try package using npm. This is the first step to using the utility in your Node.js project. ```bash $ npm install p-try ``` -------------------------------- ### Local MongoDB Installation (macOS) Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/DEPLOYMENT_TUTORIAL.md Instructions for installing and starting MongoDB Community Server on macOS using Homebrew. ```bash # Using Homebrew brew tap mongodb/brew brew install mongodb-community brew services start mongodb/brew/mongodb-community ``` -------------------------------- ### Backend Deployment Steps Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/COMPLETE_SETUP_README.md Instructions for deploying the backend application, involving setting environment variables, installing dependencies, and starting the server. ```bash # Set up environment variables on your hosting platform npm install npm start ``` -------------------------------- ### Install Yargs Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/yargs/README.md Installs the stable version of Yargs using npm. This is the recommended way to get started with Yargs for most projects. ```bash npm i yargs ``` -------------------------------- ### Install Yargs Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/yargs/README.md Installs the stable version of Yargs using npm. This is the recommended way to get started with Yargs for most projects. ```bash npm i yargs ``` -------------------------------- ### Development Setup and Testing Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/json5/README.md Instructions for cloning the repository, installing dependencies, running tests, and linting the code. ```bash git clone https://github.com/json5/json5 cd json5 npm install npm test npm run lint ``` -------------------------------- ### Example package.json Scripts Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/npm-run-all/docs/run-s.md Illustrates a typical `scripts` section within a `package.json` file, defining common tasks like cleaning, linting, and building, which can then be orchestrated by `run-s`. ```json { "scripts": { "clean": "rimraf dist", "lint": "eslint src", "build": "babel src -o lib" } } ``` -------------------------------- ### Development Server Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/MONGODB_SETUP.md Starts the development server with auto-reload capabilities. ```bash npm run dev ``` -------------------------------- ### Project Structure Overview Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/COMPLETE_SETUP_README.md A breakdown of the project's directory structure, highlighting key directories like `lib` for UI and services, `server.js` for the backend, and configuration files. ```bash eventura_app_flutter_code/ ├── lib/ │ ├── screens/ # All UI screens │ ├── services/ # Business logic and API calls │ ├── models/ # Data models │ ├── utils/ # Utility functions │ ├── widgets/ # Reusable UI components │ └── main.dart # App entry point ├── server.js # Backend server ├── package.json # Backend dependencies ├── pubspec.yaml # Flutter dependencies ├── test_full_stack.js # Comprehensive test suite ├── setup_complete.js # Complete setup script └── uploads/ # File storage directory ``` -------------------------------- ### Basic Express.js Server Setup Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/express/Readme.md This snippet demonstrates the fundamental setup of an Express.js server. It requires the 'express' module, creates an app instance, defines a simple GET route for the root path, and starts the server listening on port 3000. ```js const express = require('express') const app = express() app.get('/', function (req, res) { res.send('Hello World') }) app.listen(3000) ``` -------------------------------- ### Basic Express.js Server Setup Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/express/Readme.md This snippet demonstrates the fundamental setup of an Express.js server. It requires the 'express' module, creates an app instance, defines a simple GET route for the root path, and starts the server listening on port 3000. ```js const express = require('express') const app = express() app.get('/', function (req, res) { res.send('Hello World') }) app.listen(3000) ``` -------------------------------- ### Install Flutter SDK on Windows Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/DEPLOYMENT_TUTORIAL.md Instructions for downloading, extracting, and adding the Flutter SDK to the system's PATH environment variable on Windows. Includes verification command. ```bash # Download Flutter SDK from https://flutter.dev/docs/get-started/install/windows # Extract to C:\\flutter # Add C:\\flutter\\bin to PATH environment variable # Verify installation flutter doctor ``` -------------------------------- ### Eventura Backend Health Check Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/EVENTURA_NETWORK_SETUP.md Example URL for the Eventura backend health check endpoint. This is used to verify if the backend server is running and responsive. ```javascript http://YOUR_IP_ADDRESS:42952/health ``` -------------------------------- ### Access Eventura Backend API Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/EVENTURA_NETWORK_SETUP.md Example URL to access the Eventura backend API from another device on the network. Replace YOUR_IP_ADDRESS with the actual local IP. ```javascript http://YOUR_IP_ADDRESS:42952 ``` -------------------------------- ### Build and Run Live Viewer Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/whatwg-url/README.md Prepares, builds, and runs the live viewer for the project. The contents of the 'live-viewer' directory should then be served using any web server. ```bash npm run prepare npm run build-live-viewer ``` -------------------------------- ### Access Eventura Flutter App Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/EVENTURA_NETWORK_SETUP.md Example URL to access the Eventura Flutter application from another device on the network. Replace YOUR_IP_ADDRESS with the actual local IP. ```javascript http://YOUR_IP_ADDRESS:43218 ``` -------------------------------- ### Build and Run Live Viewer Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/whatwg-url/README.md Prepares, builds, and runs the live viewer for the project. The contents of the 'live-viewer' directory should then be served using any web server. ```bash npm run prepare npm run build-live-viewer ``` -------------------------------- ### Hosts File Configuration Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/EVENTURA_NETWORK_SETUP.md Example line to add to the hosts file to map a custom domain name (eventura.local) to a specific IP address, allowing access without using the IP directly. ```javascript 192.168.1.XXX eventura.local ``` -------------------------------- ### Building and Packaging with npm Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/@mapbox/node-pre-gyp/README.md These commands illustrate how to build your module from source using `npm install --build-from-source`. This flag ensures that `node-pre-gyp` compiles the module locally instead of attempting to download a pre-compiled binary. It also shows how to access the `node-pre-gyp` command-line tool after installation. ```bash npm install --build-from-source ./node_modules/.bin/node-pre-gyp ``` -------------------------------- ### Start Flutter App for Network Access Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/EVENTURA_NETWORK_SETUP.md Command to run the Flutter application, specifically configured for network access. It binds the web server to all available network interfaces and sets a specific port. ```dart flutter run -d chrome --web-hostname 0.0.0.0 --web-port 43218 ``` -------------------------------- ### Automated Environment Setup Script Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/MONGODB_SETUP.md A JavaScript script for automating environment setup. ```javascript // setup_env.js - Automated environment setup script ``` -------------------------------- ### Installation Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/mkdirp/readme.markdown Provides instructions for installing the `mkdirp` package using npm, covering both local project installation and global installation for command-line usage. ```bash npm install mkdirp npm install -g mkdirp ``` -------------------------------- ### Building and Packaging with npm Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/@mapbox/node-pre-gyp/README.md These commands illustrate how to build your module from source using `npm install --build-from-source`. This flag ensures that `node-pre-gyp` compiles the module locally instead of attempting to download a pre-compiled binary. It also shows how to access the `node-pre-gyp` command-line tool after installation. ```bash npm install --build-from-source ./node_modules/.bin/node-pre-gyp ``` -------------------------------- ### Install shebang-command Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/shebang-command/readme.md Installs the shebang-command package using npm. ```bash $ npm install shebang-command ``` -------------------------------- ### Database Initialization Scripts Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/DEPLOYMENT_TUTORIAL.md Commands to run scripts for seeding the database with initial data or manually setting up an admin user. ```bash # Run the seed data script dart tool/seed_data.dart # Or manually create admin user dart lib/utils/admin_setup.dart ``` -------------------------------- ### Install shebang-command Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/npm-run-all/node_modules/shebang-command/readme.md Installs the shebang-command package using npm. ```bash $ npm install --save shebang-command ``` -------------------------------- ### Install string-width Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/string-width/readme.md Installs the string-width package using npm. ```bash $ npm install string-width ``` -------------------------------- ### Install methods Module Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/methods/README.md Instructions for installing the 'methods' npm package using npm. ```bash $ npm install methods ``` -------------------------------- ### Install node-pre-gyp Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/@mapbox/node-pre-gyp/README.md Demonstrates how to install node-pre-gyp as a local dependency or globally. ```bash # Install as a local dependency ./node_modules/.bin/node-pre-gyp --help # Install globally npm install @mapbox/node-pre-gyp -g ``` -------------------------------- ### Install string-width Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/string-width/readme.md Installs the string-width package using npm. ```bash $ npm install string-width ``` -------------------------------- ### Installation and Testing Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/math-intrinsics/README.md Instructions for installing the project dependencies and running the test suite. This involves cloning the repository, installing packages via npm, and executing the test command. ```bash git clone cd math-intrinsics npm install npm test ``` -------------------------------- ### Install raw-body Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/raw-body/README.md Installs the raw-body module using npm. Also includes instructions for installing Node.js types for TypeScript projects. ```sh $ npm install raw-body $ npm install @types/node ``` -------------------------------- ### Install Picomatch Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/picomatch/README.md Instructions for installing the picomatch package using npm. ```sh npm install --save picomatch ``` -------------------------------- ### Install raw-body Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/raw-body/README.md Installs the raw-body module using npm. Also includes instructions for installing Node.js types for TypeScript projects. ```sh $ npm install raw-body $ npm install @types/node ``` -------------------------------- ### Install stream-events Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/stream-events/readme.md Installs the stream-events package using npm. ```shell $ npm install --save stream-events ``` -------------------------------- ### Install path-key Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/path-key/readme.md Installs the path-key package using npm. ```bash $ npm install path-key ``` -------------------------------- ### Package and Publish Build Artifacts Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/@mapbox/node-pre-gyp/README.md Commands to install the AWS SDK and then use node-pre-gyp to package and publish build artifacts to S3. ```bash npm install aws-sdk ``` ```bash node-pre-gyp package publish ``` -------------------------------- ### Install own-keys Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/own-keys/README.md Installs the 'own-keys' package as a dependency for your project. ```shell npm install --save own-keys ``` -------------------------------- ### mkdirp Installation Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/tar/node_modules/mkdirp/readme.markdown Provides instructions for installing the mkdirp package locally, globally, or running it via npx. ```bash npm install mkdirp npm install -g mkdirp npx mkdirp ... ``` -------------------------------- ### Install path-key Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/npm-run-all/node_modules/path-key/readme.md Install the path-key package using npm. ```bash $ npm install --save path-key ``` -------------------------------- ### Install ci-info Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/ci-info/README.md Installs the ci-info package using npm. ```bash npm install ci-info --save ``` -------------------------------- ### Install Picomatch Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/picomatch/README.md Instructions for installing the picomatch package using npm. ```sh npm install --save picomatch ``` -------------------------------- ### Browser Installation Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/node_modules/protobufjs/README.md Includes protobuf.js in a web project via a CDN. It provides links to different distribution variants (full, light, minimal) and demonstrates how to include the minified full version using a script tag. All variants are available globally as `window.protobuf`. ```html ``` -------------------------------- ### Install callsites Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/callsites/readme.md Install the callsites package using npm. ```bash $ npm install callsites ``` -------------------------------- ### Environment File Examples Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/dotenv-safe/README.markdown Illustrates the structure of .env.example and .env files, showing required variables and their values. ```dosini # .env.example, committed to repo SECRET= TOKEN= KEY= ``` ```dosini # .env, private SECRET=topsecret TOKEN= ``` -------------------------------- ### Install locate-path Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/locate-path/readme.md Installs the locate-path package using npm. ```bash $ npm install locate-path ``` -------------------------------- ### Setup Environment Configuration Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/MONGODB_SETUP.md Runs a script to set up the project's environment configuration. ```bash npm run setup ``` -------------------------------- ### Install node-pre-gyp Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/@mapbox/node-pre-gyp/README.md Commands to install the node-pre-gyp package, either globally for command-line access or locally within a project and add it to the PATH. ```bash npm install node-pre-gyp -g ``` ```bash export PATH=`pwd`/node_modules/.bin/:$PATH ``` -------------------------------- ### Install jsesc Source: https://github.com/omnitech-flipper/flutter-dart-mongodb-app-eventura/blob/main/backend/node_modules/jsesc/README.md Instructions for installing the jsesc library using npm. ```bash npm install jsesc ```