Leo Qin

← All projects

07 · Live website

BiphFlora

A bilingual campus plant catalogue.

Role
Technical Lead
When
2024 – May 2026
BiphFlora demo mode home page: a search box, a count of plant species, and three sample plant cards. All sample data.
Demo mode, which uses anonymous sample data: the search home page.

Built with

  • React
  • Express
  • MongoDB
  • WebP

About the project

The school’s first digital biodiversity catalogue, built with React, Express and MongoDB. It has bilingual search, role-⁠based login and admin review, with 153 plant records and 970 photos.

I made responsive WebP versions of all 1,033 images. Added up across the library, the 480 px versions are 98.7% smaller than the originals (about 2.1 GB down to 28 MB), and the 1600 px versions are 93.6% smaller.

The site has had about 37,000 page loads since late 2024, counted from server logs.

The screenshots show the site’s demo mode, which uses anonymous sample data.

What it does

BiphFlora is a bilingual React and Express application for discovering, documenting, contributing to and reviewing campus plant and bird records.

  • Search works in Chinese, English, Latin names and aliases, with fuzzy matching.
  • Public views: catalogue, glossary, detail pages, a seasonal gallery and posts of creative work.
  • Submissions and edits go through administrator review. The queue holds edit requests and unreviewed plant, bird and creative-⁠work posts, with approve and reject decisions.
  • A production snapshot in late July 2026 held 153 plant records (152 approved, 1 pending), 970 picture records, 27 artwork records and 18 approved creative-⁠work posts.

How it is built

React client bilingual UI Express API JWT, bcrypt MongoDB records Redis token check Media files Sharp, WebP
In production Nginx sits in front. Sign-⁠in uses bcrypt for passwords and signed JWTs as sign-⁠in tokens, checks the current token in Redis, and reloads administrator status from MongoDB, so an outdated admin role in a token does not grant access on its own.

Making images light

The library has 1,033 readable image files (57 JPEG, 976 PNG), about 2.1 GB. Responsive WebP versions at 480, 960 and 1600 px were made for every file, 3,099 in all with no failures, and for each image shown a browser downloads just one size.

Total size of the resized versions, compared with the originals
  1. 480 px versions27.8 MB in total 98.68% smaller
  2. 960 px versions73.5 MB in total 96.52% smaller
  3. 1600 px versions135.7 MB in total 93.57% smaller

Summed over all 1,033 files. Reductions are per width and should not be added together. Source: BiphFlora media report, 23 July 2026.

A local benchmark of the Fuse.js search over 6,000 synthetic queries gave a median of 0.70 ms and a 95th percentile of 1.13 ms. It excludes the API, database, interface and production load.

Reach

Page loads in the server log, by window
  1. Since 31 Oct 2024 37,409
  2. Last 365 days 23,215
  3. Last 90 days 6,398
  4. Last 30 days 1,802

Successful responses that delivered a page itself (not images or other files), after removing bots, scanners and internal traffic, up to 22 July 2026. The source report says these are not visits, pageviews or people. Source: BiphFlora traffic report, 23 July 2026.

BiphFlora demo mode species page: a profile with names, location and an image gallery, all sample data.
A species page in demo mode, with sample data.

Try a sample

Bilingual search over the three sample entries in the site’s demo mode. It shows the interaction, not the real catalogue.

3 of 3 sample entries match

  • Synthetic Plant AlphaDemoAlpha演示植物甲
  • Synthetic Plant BetaDemoBeta演示植物乙
  • Synthetic Plant GammaDemoGamma演示植物丙

Comments

Next project

萤火之森 · CMJ