This repository contains the source code for the official Polimeritas community website. The platform is built to provide educational resources about polymer science and features interactive gamification modules.
This project has been migrated from a static HTML/jQuery architecture to a modern Next.js and TypeScript stack.
Ensure you have the following installed on your local development environment:
- Node.js (v18.17.0 or later)
- npm (Node Package Manager)
Follow these steps to set up the project locally:
-
Clone the repository
git clone [https://github.com/Polimeritas/Polimeritas.github.io.git](https://github.com/Polimeritas/Polimeritas.github.io.git) cd polimeritas-web -
Install dependencies
npm install
-
Run the development server
npm run dev
-
Open the application Visit
http://localhost:3000in your browser.
The project follows a modular architecture to ensure scalability and maintainability.
src/
├── app/ # Next.js App Router (Pages & Layouts)
│ ├── game/ # Game routes (Sorting, Typing, Quiz)
│ ├── about/ # Static pages
│ └── ...
├── components/ # Reusable UI Components
│ ├── common/ # Shared components (Buttons, Modals, Cards)
│ ├── layout/ # Global layout (Navbar, Footer)
│ └── game/ # Game-specific logic engines
│ ├── sorting/ # Sorting game engine & logic
│ ├── typing/ # Typing game engine & logic
│ └── quiz/ # Quiz game engine
├── config/ # Global configuration (Site settings, Navigation)
├── data/ # Static data (Questions, Items, Articles)
└── lib/ # Utility functions (cn, formatters)