About this project

This is an online map project for Elden Ring players, featuring multi-user collaborative editing: players can jointly mark and modify landmark information on the map. The online address provided in the README is https://www.elpwc.com/eldenringmap/. On the technical side, the frontend uses the Svelte framework with the Leaflet map library, written in TypeScript; the backend is PHP + MySQL, running on a Windows Server environment with Apache and nginx. The author notes that it started as a small personal website, choosing pure PHP for backend APIs to try out Svelte and for convenience. All landmarks in the current version are rendered using the DOM. Development and deployment process: - Frontend: Requires Node.js 16.13.0, npm 8.1.2, or pnpm 7.0.0-beta.2. After cloning the repository, run npm i (or pnpm install / yarn) to install dependencies, npm run dev for debugging, and npm run build to package; the output is in the /public folder, which can be deployed as static resources. - Backend: Depends on PHP and MySQL. First, execute the /database.sql file in the repository to initialize the database; database configuration is located in the /public/api/private/ directory, including admin.example.php (admin password), dbcfg.example.php (database configuration), and illegal_words_list.example.php (blocked words list); remove the .example suffix from filenames to activate them. Admin mode allows direct add, delete, and modify operations on data from the frontend; for entry instructions, refer to src/pages/About.svelte, where the page will display (Admin) after entering. Finally, deploy the /public content to an Apache server. The project is licensed under the MIT License, allowing free use, modification, and distribution of the code while retaining the license. The README mentions that the map maintains 200,000 to 300,000 daily visits, and the author welcomes contributions via email, QQ, or issues, listing two contributors: spking11 and Ranger. The repository also includes screenshots and file descriptions (/src/description.txt).