Skip to content

priyanshuchawda/AI-CITY-SIMULATOR

Repository files navigation

AI-Powered Virtual City Simulator

Overview

The AI-Powered Virtual City Simulator is designed to simulate various aspects of city life, including infrastructure, economy, and user behavior. It leverages multiple services such as AI predictions, economic simulations, and real-time city management, ensuring smooth virtual operations.

Environment Setup

To run this project, you need to configure the necessary environment variables for each service. Follow these steps:

  1. Navigate to each service directory:

    • ai-city-simulator-backend/services/city-service
    • ai-city-simulator-backend/services/ai-service
    • ai-city-simulator-backend/services/economy-service
    • ai-city-simulator-backend/services/user-service
  2. Create a .env file in each directory based on the .env.example file provided.

  3. Fill in the actual values for each environment variable in the .env files:

    MONGODB_URI=mongodb://username:password@host:port/database
    POSTGRESQL_URI=postgresql://username:password@host:port/database
    NEO4J_URI=bolt://host:port
    NEO4J_USER=your_neo4j_username
    NEO4J_PASSWORD=your_neo4j_password

    Replace the placeholders (username, password, host, port) with your actual database credentials and connection details.

  4. Ensure the .env files are added to .gitignore to prevent sensitive information from being committed.

Available Scripts

In the project directory, you can run the following scripts:

npm start

Starts the app in development mode.
Open http://localhost:3000 in the browser to view the app.

  • The page will reload if you make edits.
  • Lint errors will appear in the console.

npm test

Runs the test suite in interactive watch mode.
Learn more about running tests in the Create React App documentation.

npm run build

Builds the app for production and stores the output in the build folder.

  • React is optimized for best performance during production.
  • The build files are minified, and filenames include hashes. See more details on deployment.

npm run eject

Note: This operation is irreversible.
If you aren't satisfied with the default build setup, you can eject to gain full control over the configuration files.

Learn More

To learn more about the technologies used, explore the following resources:

Contributing

We welcome contributions! Please fork the repository and create a pull request with detailed explanations for any changes.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published