Personal
project 5 of 7Hackathon · made-to-order products
IBRAND hackathon project
Nov 2022 · 1m · Full-stack developer
A hackathon project from university: a web platform where a customer picks a factory and a product formula, then follows the order from price estimate to delivery.
Highlights
- Wrote the REST API in Express on MongoDB, with Mongoose models for factories, users and order transactions.
- Built the React app with a teammate: a customer side for finding a factory and following an order, and a factory console that lists the orders waiting at each step.
- Sign-in hashes passwords with bcrypt and returns a JWT that a middleware checks on protected routes.
- An order is one transaction with a current step, and both sides read that step to decide what to show.
65
commits
11
days
- JavaScript
- React
- Node.js
- Express
- MongoDB
From formula to delivery
IBRAND was built for a hackathon in November 2022, while studying at Chiang Mai University. A customer searches factories by province, product type, category and material, picks a formula and opens an order.
From there the order moves through nine steps: formula, price estimate, test product, deposit, packaging, FDA registration, production, payment and delivery.
The API keeps each order as a transaction that records its current step. The customer app shows that step on a progress line, and the factory console counts and lists the orders waiting at each step.
The screenshots come from both public repositories running locally, with the sample factories that ship in the API repository.
The factory search, filtered by province, type, category and material. A factory page. Step 1: pick a formula. The line above shows all nine steps. After a request is sent, the order waits for the factory. The factory console counts the orders at each step. The orders waiting at one step.