LambCo2You is a site selection platform designed to help companies identify optimal locations for new facilities based on environmental, logistical, and industrial data. The app aggregates and visualizes data from multiple sources(including global power plant databases, chemical production facilities, and mapping APIs) to support strategic decision-making.
This platform is ideal for:
- Manufacturing companies seeking new plant locations with access to energy and chemical resources.
- Renewable energy firms analyzing proximity to power infrastructure.
- Chemical producers evaluating supply chain and distribution opportunities.
- Logistics and supply chain teams optimizing routes and facility placement.
- Consultants and analysts performing site feasibility studies for clients in energy, chemicals, and manufacturing.
By integrating real-time data and interactive maps, LambCo2You streamlines the site selection process, reduces research time, and helps organizations make data-driven location decisions.
-
Clone the repository:
git clone https://github.com/your-username/site-selector-platform.git cd site-selector-platform -
Install dependencies:
pnpm install
If you don’t have pnpm, install it globally:
npm install -g pnpm -
Run the development server:
pnpm dev
The app will be available at http://localhost:3000.
-
Build for production:
pnpm build pnpm start
- You must manually create a
.env.localfile in your project root to store API keys and other secrets. - This file is not tracked by git (see
.gitignore), so your sensitive information remains private. - Example contents for
.env.local:ACETIC_API_KEY=your_key_here CHEMICAL_API_KEY=your_key_here NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_key_here
- Purpose: Fetch data about acetic acid production sites.
- How to use:
- Obtain API credentials from the provider.
- Add your API key to
.env.local:ACETIC_API_KEY=your_key_here - In your code, use
process.env.ACETIC_API_KEYto authenticate requests. - Example fetch (replace with actual endpoint):
const res = await fetch('https://api.aceticfacilities.com/v1/sites', { headers: { 'Authorization': `Bearer ${process.env.ACETIC_API_KEY}` } });
- Purpose: Retrieve chemical production facility data.
- How to use:
- Get API credentials from the provider.
- Add to
.env.local:CHEMICAL_API_KEY=your_key_here - Example usage:
const res = await fetch('https://api.chemicalfacilities.com/v1/list', { headers: { 'Authorization': `Bearer ${process.env.CHEMICAL_API_KEY}` } });
- Purpose: Display maps and geolocation data.
- How to use:
- Create a Google Cloud project and enable the Maps JavaScript API.
- Get your API key and add to
.env.local:NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_key_here - In your React components, use the key for map rendering (e.g., with
@react-google-maps/api):<GoogleMap apiKey={process.env.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY} // ...other props />
Create a .env.local file in the project root and add your API keys:
ACETIC_API_KEY=your_key_here
CHEMICAL_API_KEY=your_key_here
NEXT_PUBLIC_GOOGLE_MAPS_API_KEY=your_key_here
- For API documentation, refer to each provider’s official docs.
- Make sure not to commit your
.env.localfile to version control. - If you encounter dependency issues, ensure you’re using
pnpmand a compatible Node.js version.