๐ GeoDev is a cutting-edge project showcasing the integration of Mapbox and D3.js with Next.js and TypeScript. It allows users to interact with geospatial data, visualize routes, and toggle various map layers for enhanced urban planning and policy analysis.
- Mapbox Integration: Visualize interactive maps with various layers.
- D3.js Integration: Create dynamic and interactive data visualizations.
- Route Visualization: Display calculated routes between points on the map.
- Layer Toggle: Enable and disable different data layers on the map.
- Next.js: A React framework for server-side rendering and static site generation.
- Mapbox: A powerful mapping platform for creating custom and interactive maps.
- D3.js: A JavaScript library for producing dynamic, interactive data visualizations.
- TypeScript: A superset of JavaScript that adds static typing to the language.
- Prisma: A modern and intuitive ORM for Node.js and TypeScript.
- PostgreSQL: A powerful, open-source relational database system.
- components: Contains all React components used in the project.
- public: Static public files such as images.
- lib: Helper functions and custom hooks.
- pages: Next.js pages.
- styles: Style files.
Ensure you have Node.js installed on your machine.
-
Clone the repository:
git clone https://github.com/thiagobardini/geodev-demo.git
-
Navigate to the project directory:
cd geodev-demo
-
Install the dependencies:
pnpm install
-
Start the development server:
pnpm dev
-
Open http://localhost:3000 in your browser to see the app in action.
To create a production build of the project:
pnpm build
And then, to start the server:
pnpm start
Contributions are welcome! If you have any suggestions or find any issues, please open an issue or submit a pull request.
This project is licensed under the MIT License.
Special thanks to all the open-source libraries and tools that make this project possible.