$ cd ~/work/glorious-publications
Glorious Publications
An online bookshop for a small publisher, selling printed and e-book editions, with an admin where the publisher manages titles, stock and orders.

00//the walkthrough
3 screens · tapclick to enlarge
01//the problem
A small publisher needs to sell printed and digital editions without a large platform. Stock for printed copies has to stay accurate, prices can't come from the browser, and someone without technical skills has to be able to add books and work through orders.
02//the approach
Next.js 14 with MongoDB Atlas through Mongoose. The server prices every line of the cart and takes printed stock, refusing an order larger than the stock, so no price comes from the browser. The admin sits behind a passcode in a signed cookie, checked on every admin request.
03//what I built
Catalogue
Search by title or author, categories, price sorting and a filter for titles in print.
Book pages
E-book and hard-copy prices, copies left, related titles and a page-flip preview of the opening pages.
Checkout priced on the server
Every line is priced by the server, and printed orders larger than the stock are refused.
Admin dashboard
Sales and stock figures, low-stock alerts and best sellers.
Books and orders
Add, edit and delete books, and work through orders by status; cancelling a printed order puts its copies back.
// the impact
Glorious Publications is DevoraX client work. The live demo's catalogue is 13 public-domain classics with covers designed for it, in place of the publisher's own titles; checkout takes no payment and the orders are sample data. The 1½-minute video above walks through the catalogue, the page-flip preview, an order for two titles and the admin.
// let's build yours
Have a product like this in mind?