EcoESCOM connects recycling with everyday activity in the ESCOM community. Someone records a contribution and receives credits, then uses them for promotions offered by students selling products or services. The project implements that idea as a web application with accounts, records and lookup tools.

From recycled material to a redemption#

The data model distinguishes equivalences, credits, promotions and transactions. An equivalence gives context to a user’s credit; a transaction connects a person with a promotion. Keeping those concepts separate makes it possible to follow where a credit came from and how it participates in the workflow.

Credit records include a quantity, an evidence image, timestamps and a reporting state. The problem extends beyond displaying a balance: the application also needs information for reviewing a contribution and connecting it to an account.

An application and an API#

The interface uses React and Material UI, Formik and Yup for forms and validation, and Axios for API requests. Authentication associates requests with the person making them.

The TypeScript and NestJS backend organizes authentication, users, credits and transactions into modules. TypeORM entities express relationships between records, Swagger documents the API’s data and JWT supports authenticated requests.

What the prototype explores#

The code implements contributions, evidence and redemptions. It does not establish how many people participated or how much material was recycled.