Fullstack eCommerce platform built with Next.js 14 (frontend) and Node.js + Express (backend).
This is a monorepo setup containing both frontend and backend folders, managed with a unified package.json for development, build, and code quality checks.
sastobazaar/
βββ backend/ β Express.js server
βββ frontend/ β Next.js 14 client with TailwindCSS
βββ package.json β Monorepo scripts and dev tools
npm run install-allnpm run set-envnpm run dev| Script | Description |
|---|---|
dev |
Run both frontend and backend in development mode |
server |
Run backend server only |
client |
Run frontend client only |
build-server |
Build backend |
build-client |
Build frontend |
build-all |
Build both frontend and backend |
preview-server |
Preview backend after build |
preview-client |
Preview frontend after build |
preview-all |
Preview both frontend and backend |
check-types |
Run TypeScript checks on both apps |
check-format |
Check code formatting with Prettier |
check-lint |
Run ESLint on project |
check-all |
Run formatting, linting, and type checks |
format |
Format all code with Prettier |
set-env |
Setup environment variables |
- Next.js 14
- TailwindCSS
- TypeScript
- React Query
- Auth.js
- Node.js
- Express.js
- TypeScript
concurrentlyfor running multiple scripts- Git hooks with
huskyandpretty-quick - Unified linting and formatting setup
We welcome contributions from everyone! Hereβs how you can help:
Click the "Fork" button at the top of this page to create your own copy.
git clone https://github.com/your-username/sastobazaar.git
cd sastobazaargit checkout -b feat/your-feature-nameFollow existing code conventions, write clean and meaningful code, and add tests where appropriate.
npm run format
npm run check-lintgit add .
git commit -m "Add: your feature description"
git push origin feature/your-feature-nameGo to the original repo on GitHub and open a new pull request from your fork.
MIT
Crafted with β€οΈ by Kritesh Timsina.