Plant-for-the-Planet-org/planet-webapp
关于
Forest Cloud: The Open Source and Commission Free Application that powers the Trillion Tree Campaign. Visit us to meet reforestation Organizations, individuals and companies who are on a journey to plant, monitor and restore a trillion trees.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
Directory Structure
pages - All the routes
- _app = Page initializations of the project
- _document = A custom Document is commonly used to augment your application's html and body tags.
- 404 = Default 404 page if the route is not found
- Project pages -
| # | Page Name | Route | Functionality |
| 1 | index.tsx | / | Home page of the app with all the projects in list and map |
| 2 | [id].tsx | /project-id | Page of single project which loads all the details of the same |
| 3 | about.tsx | /about | About the organization |
| 4 | leaderboard.tsx | /leaderboard | Showcases the top donors from around the world |
| 5 | me.tsx | /me | User's private profile |
| 6 | t/[id].tsx | /t/tpo-id | TPO's profile |
public - Assets
- tenants = Assets of all the tenants
- assets = All the images and image components
- And other public assets.
src - Source code
- features = Project features are present here
- tenants = Tenant specific features are present here
- theme = Theme scss files
- utils = Utility functions
Configuration
Environment Setup
Rename env.local.sample to env.local and add the necessary keys
Development
Run the development server
npm install --legacy-peer-deps
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result. The page auto-updates as you edit the file.
Run the tests
npm run test # unit tests (Vitest)
npm run test:e2e # end-to-end tests (Playwright)
See TESTING.md for setup, all commands, and what to do when a test fails.
Development Process
This project uses GitFlow (https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) with Master-Branch master and Development-Branch develop. The Master-Branch will be automatically released by Vercel bot to the production system. There are currently some more protected branches also build by Vercel bot automatically and mapped to test backends using the branch name as subdomain.
Reporting a Vulnerability
If you have found a vulnerability, you could write us at: [email protected] with details or create a PR for the fix.
Important Links
Thank You
The deployment and management of this application is possible with support from open source contributors and following partners.
Legal
Any brand-images/logo/iconography used in this project, including of Plant-for-the-Planet, are registered trademark(s) of respective parties.
Trillion Tree Campaign icon is available under Creative Commons CC BY-NC-ND.
Please contact partner[at]plant-for-the-planet[dot]org for approval to use the Plant-for-the-Planet Logo.
探索相关项目
加载中…