Live Preview
Open in new tab ↗
Marijuana Land
Web AppAbout This Project
Marijuana Land is a recreational cannabis dispensary in Germfask, in Michigan's Upper Peninsula. It serves two audiences: a loyal local customer base that comes back every week, and a steady stream of travelers on the US highways passing through the state. The shop reaches those travelers the moment they cross into Michigan, with highway billboards and a listing on Weedmaps, so the website has to work as the next stop for someone on their phone deciding whether to pull over: hours, deals, the menu, and directions up front. I sourced and worked with a designer to lock in the brand identity and logo and built the first site on WordPress, then restored that build into a local Docker environment and rebuilt it in Next.js 16, React 19, TypeScript, and Tailwind CSS 4. The rebuild is live on Vercel at the client's own domain, with a deal-driven home page, a sample shop menu, about, contact, FAQ, and gallery pages, and a 21+ age gate. For the online launch I built a gate in the Next.js proxy that holds every public route on a countdown page until a set Eastern-time moment, then lifts on its own with no redeploy. The owner can preview the real site early with an HMAC-signed session cookie, and gated pages are sent with Cache-Control: private, no-store. I also built an owner CMS at /admin with draft, preview, publish, and one-step undo for each content section, in-browser photo rotation and resizing, date-windowed deals in the shop's time zone, and a message inbox, on admin auth that uses a scrypt password hash and stateless signed sessions with no auth library. Its database hookup is still pending, so for now the site serves defaults bundled in the code.
Security & Compliance
- Admin password stored only as a salted scrypt hash, checked with a timing-safe compare
- Expiring HMAC-signed httpOnly session, re-verified in the proxy and on every admin action
- Launch gate rewrites before the CDN cache and sends gated pages as private, no-store
Key Features
- Next.js 16 rebuild live on the client's domain, marijuanaland.com
- Launch gate in the Next.js proxy that lifts on schedule, with owner preview
- Owner CMS with draft, preview, publish, and one-step undo (database hookup pending)
- In-browser photo rotation and resizing before upload
- Deals with start and end dates evaluated in the shop's time zone
- Admin auth on Node crypto: scrypt password hash and signed sessions, no auth library
- Original WordPress build restored into a local Docker environment for the rebuild