LogicBit Inventory / Account Management System — Complete Business Stock & Accounting Platform
by LBS Market in MongoDB
- React 19
- React Router 7
- Vite 8
A multi-tenant restaurant SaaS with AI chatbot, 4 portals, and real-time order management.
Run multiple restaurants from a single, unified platform. LogicBit is a full-stack, multi-tenant SaaS solution designed for modern restaurant chains, aggregators, and delivery services. It includes an integrated AI-powered digital assistant, real-time order tracking, and comprehensive management dashboards.
Built with modern, scalable, and open-source technologies:
LogicBit Restaurant Platform
Thank you for choosing the LogicBit Restaurant Platform. It is a complete food-ordering marketplace: customers find restaurants near them and order for delivery, pickup or dining in; restaurant owners run their own menu, orders, storefront and staff; you, the platform admin, control the whole marketplace. It is built with Next.js (the website and the dashboards), NestJS (the server and API) and PostgreSQL (the database), and runs from one command with Docker.
| File / folder | What it is |
|---|---|
LogicBit-Restaurant-Platform.zip |
The application. Upload this to your server. |
documentation/index.html |
This guide (also inside the application zip). |
licensing/ |
Licence terms and third-party credits. |
README.txt |
Quick start. |
Inside LogicBit-Restaurant-Platform.zip:
LogicBit-Restaurant-Platform/
├── docker-compose.yml starts the database, server, website and Nginx
├── .env.example every setting, explained (install.sh turns it into .env)
├── install.sh one-command installer (also creates the admin account,
│ starts everything and sets up the daily backup)
├── scripts/ the helper scripts install.sh and you use:
│ ├── create-admin.sh create the admin account, or reset its password
│ ├── rename.sh change the website name, support email and phone
│ ├── configure.sh add email, Google login, translation or AI chat
│ ├── start.sh stop.sh status.sh logs.sh
│ └── backup.sh restore.sh update.sh
├── nginx/ web server rules (HTTPS and routing)
├── server/ NestJS server (+ Dockerfile)
├── client/ Next.js website and dashboards (+ Dockerfile)
└── documentation/ this guide
Created by the installer on your server:
├── .env your settings and secrets
├── backups/ automatic daily backups (newest 14)
└── logs/ install.log and backup.log
| Item | Minimum | Recommended |
|---|---|---|
| Server | A Linux VPS or cloud server where you have root (sudo) SSH access | Any VPS provider |
| Operating system | Ubuntu 22.04 / 24.04 or Debian 12 | Ubuntu 24.04 LTS |
| Memory / CPU / disk | 2 GB RAM, 1 vCPU, 20 GB | 4 GB RAM, 2 vCPU for a busy marketplace |
| Domain | A domain whose DNS A record points to the server's IP address | |
| Email account | An SMTP login (for example from your email provider) so sign-up codes and order emails are delivered | |
The installer installs Docker if it is missing. Everything else (PostgreSQL, Node.js, Nginx) runs inside Docker containers, so nothing else is installed on the server.
The server needs internet access during the installation: it downloads the Docker images, the npm packages and the website fonts (from Google Fonts) while building. After that the site does not depend on them.
Never used a server before? Follow these steps in order, exactly as written. You do not need to know Linux: you will copy and paste a handful of commands. The whole job takes about 30 minutes plus the waiting time for your domain.
Rent a small Linux server (a "VPS") from any hosting provider. When you create it, choose:
Write down the server's IP address (four numbers, for example 203.0.113.10) and the root password. You find both in the provider's dashboard or in the e-mail they send you after you create the server.
Log in to the company where you bought your domain and open its DNS settings. Add an A record: name (host) @, value = the server's IP address. If you also want www.yoursite.com, add a second A record with the name www and the same IP address.
It takes a few minutes, sometimes a few hours. To check, open PowerShell (Windows: Start menu, type PowerShell) or Terminal (Mac) on your own computer and run:
ping yoursite.com
When the answer shows your server's IP address, the domain is ready. You can do the next steps while you wait, but the installer needs the domain to be ready before it can get your HTTPS certificate.
You received LogicBit-Restaurant-Platform-v1.0.0.zip. Unzip it on your own computer (Windows: right-click, Extract All). Inside you find this guide (documentation), the licence files and another zip called LogicBit-Restaurant-Platform.zip. That inner zip is the file that goes to the server. Do not unzip it on your computer.
Option A: one command. In PowerShell or Terminal, go to the folder that holds LogicBit-Restaurant-Platform.zip and upload it. Replace YOUR_SERVER_IP with your server's IP address:
cd "$HOME/Downloads/LogicBit-Restaurant-Platform-v1.0.0"
scp LogicBit-Restaurant-Platform.zip root@YOUR_SERVER_IP:/root/
The first time, it asks Are you sure you want to continue connecting (yes/no)?. Type yes and press Enter. Then it asks for the root password. Nothing appears on the screen while you type the password. That is normal. Type it (or paste it) and press Enter.
Option B: a program with windows. Install FileZilla or WinSCP, connect with protocol SFTP, host = your server's IP address, user root, port 22, then drag LogicBit-Restaurant-Platform.zip into the folder /root.
In PowerShell or Terminal run:
ssh root@YOUR_SERVER_IP
Answer yes if it asks, then type the password as before. When the line on the screen ends with :~# (for example root@my-server:~#), you are inside the server. Everything you type from now on runs on the server. Run these commands one after another:
apt-get update && apt-get install -y unzip
mkdir -p /var/www && cd /var/www
unzip /root/LogicBit-Restaurant-Platform.zip
cd LogicBit-Restaurant-Platform
ls install.sh
The last command must print install.sh. If it says No such file, you are in the wrong folder: run cd /var/www/LogicBit-Restaurant-Platform and try again.
Could not get lock. The server is installing its own updates. Wait two minutes and run it again.ubuntu) instead of root, log in as that user, upload to its home folder and put sudo in front of the commands above and of the installer command below.You are still inside the server, in the folder /var/www/LogicBit-Restaurant-Platform. Run (use your own domain and e-mail address):
bash install.sh yoursite.com you@email.com
yoursite.com is your domain without https://.you@email.com is your e-mail address. The free HTTPS certificate provider (Let's Encrypt) sends expiry warnings there.It takes 5-10 minutes the first time and prints a lot of text. That is normal. Do not close the window. If your connection drops, log in again with ssh and run the same command again: it is safe and continues where it stopped.
The installer asks a few questions: the name of your website, the platform admin email (your login) and a password (leave it empty and one is made for you and shown once), and then four optional questions you can answer n to (or just press Enter): set up email, Google login, automatic translation and AI chat replies now. Anything you skip you can add later with bash scripts/configure.sh. Then it:
.env with random secrets;logs folder).The database password and all other secrets are saved in .env (keep a copy somewhere safe). The installer ends by printing your site address and the admin login address. Running install.sh again is safe: your existing .env, admin account, database and photos are kept.
https://yoursite.com. You should see your website.https://yoursite.com/admin/login and sign in with the admin e-mail and password.bash scripts/status.sh lists what is running; every line should say ok.exit to leave the server. The site keeps running. Then continue with the checklist.| What you see | What to do |
|---|---|
Permission denied when you log in |
The password is wrong. Copy it again from your provider's dashboard or e-mail (some providers make you set it first). Remember that nothing shows while you type it. |
| The installer says the domain does not point to this server | The DNS record is not ready yet. Check it with ping yoursite.com from your computer, wait, and run the same command again. To install first and add HTTPS later, add --no-ssl. If the domain is behind Cloudflare, add --skip-dns-check. |
| The installer says port 80 or 443 is in use | Another web server (for example Apache) is already on this machine. Use a fresh server that has nothing else installed. |
| The certificate step fails | The domain is not ready, or your provider's firewall blocks port 80. Fix that and run the same command again. |
The build stops with a font or npm error |
The server could not download something for a moment (the website fonts come from Google Fonts). The installer already tries three times. If it still fails, check that the server has internet access (ping -c 2 google.com) and run the same command again. |
| The installer finished but the site does not open in your browser | Your provider's firewall page is blocking ports 80 and 443. Allow them (see Step 1). |
More answers are in Troubleshooting. If you are stuck, send the last 30 lines of logs/install.log to support.
| Option | Use it when |
|---|---|
--name "My Platform" |
You want to give the website name on the command line instead of being asked. |
--admin-email you@x.com |
The admin login should differ from the certificate email. |
--no-ssl |
DNS does not point to the server yet, or you are only testing. Run the same command again later without it to get HTTPS. |
--www |
You also want www.yoursite.com to work (it needs its own A record). |
--skip-dns-check |
The domain is behind a proxy such as Cloudflare, so its address differs from the server's. |
--no-firewall |
You manage the server firewall yourself. |
--no-backup |
You do your own backups and do not want the automatic daily backup or the first backup. |
--dry-run |
Only check the server (memory, disk, ports, DNS) and show what would be done. Nothing is changed. |
--external-db URL |
You want to use your own PostgreSQL server instead of the built-in one. Back it up with that server's own tools. |
logs/install.log. If anything fails it says what to fix, and you can simply run the same command again.https://yoursite.com/admin/login with the admin email and password./owner/register (the "For restaurants" page, /for-restaurants, links there), and you manage them from the admin. Give each new restaurant its plan under Admin → Subscriptions & Plans → Manual Override (see Restaurant owners).backups folder off the server now and then, see Backup & restore.Open https://yoursite.com/admin/login. The platform admin sees everything; other staff you add see only what their role allows.
| Menu (group) | What you do there |
|---|---|
| Dashboard (Overview) | "Platform Overview": the main numbers at a glance. |
| Owners & Cash Flow (Overview) | Orders and money per owner and per restaurant: orders, sales (delivered orders only), commission and payout. |
| Restaurants (Overview) | Every restaurant on the platform. Suspend or reactivate a restaurant and set its commission. |
| Staff (Management) | "Platform Staff": your own team members. |
| Chats (Management) | Every customer chat on every restaurant. Staff can read each thread and reply (the reply is labelled "admin"); the restaurant owner sees it too. |
| Roles & Permissions (Management) | Create roles and choose what each can do, for example support staff who can only view. |
| Cuisines, Cities (Management) | The cuisine types and the cities customers can pick (a city has an English and a Japanese name and map coordinates; the first active city is the default when a visitor's location is unknown). Only platform staff manage these lists. |
| Subscriptions & Plans (Management) | All subscriptions, the plans (the installer adds Free, Basic Monthly, Basic Annual, Pro Annual and Lifetime examples), subscriptions about to expire, and assigning a plan to a restaurant by hand (Manual Override) or leaving it to the payment gateway (Auto). A daily job sends expiry reminders and suspends restaurants whose subscription ended. |
| Advertisements (Management) | Homepage banners, search boosts and pop-up ads. Owners request them and you approve. |
| Pending Promotions (Management) | Promotions that restaurants submit wait here for your review before they go live. |
| Deliveries (Management) | "Deliveries & Riders": tabs for All Deliveries, Pending Approval (rider applications), Riders Directory and Delivery Services. |
| Settlements (Finance) | Pick a restaurant and a period, press Generate Payout, and review the pending settlements (period and net payout). |
| Revenue (Finance) | "Platform Revenue": subscription income, monthly recurring revenue (MRR), active subscriptions and the recent subscription payments. |
| Refunds (Finance) | "Pending Refund Requests": review and process refunds. |
| Activity Logs (System) | "Everything that happens across the platform", newest first: time, who, restaurant, action and details. |
bash scripts/create-admin.sh
It asks for an email and a password. If the email already exists its password is reset; otherwise a new admin is created. You can also add staff with limited roles from the Staff page.
Owners learn about the platform on the "For restaurants" page (/for-restaurants), register at /owner/register and log in at /owner/login. At sign-up they enter their name, email, phone and password, then the restaurant name and address; they press Find (or drag the pin) so the kitchen is placed on the map, and tick the Terms box. They can log in straight away, but the dashboard shows "No active membership" until the restaurant has a plan (see the note below the table).
| Menu (group) | What they do there |
|---|---|
| Dashboard | Today's numbers. |
| Orders (Operations) | Live list of orders in the tabs Active, Completed and Cancelled: accept, prepare and complete them, cancel and refund. "Auto-approve riders" accepts rider requests automatically. |
| Menu (Operations) | Tabs for Menu Items (dishes with photos and availability), Categories, Modifiers (variants and add-ons) and Trash. |
| Chats (Operations) | Conversations with customers. |
| Analytics (Operations) | "Analytics & Reports": revenue, orders, new customers, AI chats handled and top-selling items (Overview), plus exportable Reports. |
| Storefront Builder (Operations) | Tabs for Homepage Layout (turn sections on or off, English and Japanese titles, order), Banners, Promotional Popups and About & Contact. |
| Coupons (Growth) | Discount codes. |
| Advertising (Growth) | Request a homepage banner, search boost or pop-up. |
| Reviews (Growth) | Customer reviews (only from real orders). |
| Email Customers (Growth) | Send messages to their customers. |
| Settlements, Subscription (Finance) | The commission invoices for cash orders; their plan and renewals. |
| Staff (Team) | Build their own roles with the permissions they choose, then invite team members and give each a role. |
| Delivery Persons (Team) | Their own riders, delivery services they add, and the freelance riders who are online nearby. |
| Settings (bottom of the menu) | Tabs: General (name, address, phone, city, refund policy, cuisines), Location (pin on the map), Delivery (delivery radius, flat fee and the Uber Direct card), Branding (colours and hero text), Service type (open for orders, opening hours and time zone, delivery / pickup / dine-in and the facilities shown on the restaurant page) and Payments (see below). |
The customer site is the main address, https://yoursite.com, in English and Japanese. Customers can:
/explore, /search);The FAQ page is at /faq, and /privacy and /terms hold your legal texts.
Independent riders register and log in at /delivery/login. Restaurants can also add their own riders. Orders go to the restaurant's own riders inside its delivery radius, to nearby independent partners, or to Uber Direct when the restaurant connects its own account (Settings → Uber Direct card).
| Who | Can do |
|---|---|
| Platform admin (Super Admin) | Everything on the platform: restaurants, owners, cities, cuisines, plans, advertising, settlements, refunds, staff and roles. Created by the installer; more with scripts/create-admin.sh. |
| Platform staff | Your own team, with only the permissions you give them: view revenue, view or suspend restaurants, manage commission, moderate content, manage staff, settlements, subscriptions, advertisements, cuisines, cities, view deliveries, view activity logs, process refunds. Create them under Admin → Roles and Staff. |
| Restaurant owner | Everything for their own restaurant. They can build roles and invite their own team (Owner → Staff). |
| Restaurant staff | Only what their role allows in that restaurant. |
| Delivery partner | Sees and delivers the orders offered to them. |
| Customer | Orders, tracks and reviews; can also order as a guest. |
bash scripts/rename.sh "Tasty Town"
bash scripts/rename.sh "Tasty Town" --email help@tastytown.com --phone "+81 3-1234-5678"
This changes the name shown on the site, in emails and in the owner texts, plus optionally the support email and phone. The name is built into the website, so it is rebuilt: allow 2-5 minutes. The site stays up meanwhile.
Replace client/public/images/logo.png with your logo (same file name), then run bash scripts/start.sh --rebuild.
Colours, the home page headings and the footer texts live in client/config/theme.ts. Edit it, then run bash scripts/start.sh --rebuild.
The legal pages are in client/app/[locale]/privacy/page.tsx and client/app/[locale]/terms/page.tsx. They contain sample texts and contact addresses: replace them with your own legal texts before you go live, then run bash scripts/start.sh --rebuild.
Sign-up codes, order confirmations and customer emails are sent over SMTP. If you did not set it up during the installation, run bash scripts/configure.sh email: it asks for the SMTP host, port, username, password and sender address, saves them and restarts the server. Or open .env and fill in by hand:
SMTP_HOST="smtp.yourprovider.com"
SMTP_PORT="587"
SMTP_USER="your-login"
SMTP_PASS="your-password"
SMTP_SECURE="false" # "true" if your provider uses port 465
SMTP_FROM="My Platform <no-reply@yoursite.com>"
REQUIRE_EMAIL_VERIFICATION="true"
Then run bash scripts/start.sh to apply. Use an address on a domain you have verified with your email provider, otherwise messages end up in spam. Leave REQUIRE_EMAIL_VERIFICATION on false until email works, because customers could otherwise never receive the code they need to sign in.
| Method | How it works |
|---|---|
| Cash on delivery | Works with no setup. |
| Card (Stripe) | Each restaurant pastes its own Stripe secret key in Settings → Payments (sk_test_... to try it, sk_live_... for real payments). Card numbers never touch your server. For faster order updates the restaurant adds a Stripe webhook to https://yoursite.com/api/v1/payments/webhooks/stripe for the events checkout.session.completed and checkout.session.async_payment_succeeded. |
| PayPay | Each restaurant saves its own PayPay keys in Settings → Payments. The server uses PayPay's sandbox until you set PAYPAY_BASE_URL="https://apigw.paypay.ne.jp" in .env. |
The keys restaurants save are encrypted in the database with SECRETS_ENCRYPTION_KEY from your .env. Never change or lose it: saved keys could then no longer be read. It is included in every backup.
https://yoursite.com/api/v1/customer-auth/google/callbackbash scripts/configure.sh google and type the client ID and secret (or put them in .env as GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET and run bash scripts/start.sh).Nginx is the front door of your server. It is the only part reachable from the internet, and it does three jobs: it provides the HTTPS padlock (a free Let's Encrypt certificate), it sends addresses that start with /api and /uploads to the server, and it sends everything else to the website. That is why you need only one domain and one DNS record.
Visitor ──https──> nginx (ports 80, 443)
├── /api/..., /uploads/... ──> server (port 3005) ──> database
└── everything else ──> website (port 3701)
nginx/conf/proxy.inc; the domain and certificate settings in nginx/conf/default.conf, which the installer writes.client_max_body_size (10 MB; the application itself allows 5 MB photos)./api/docs is blocked from the public on purpose.bash scripts/status.sh.--no-ssl first? Run sudo bash install.sh yoursite.com you@email.com again once DNS is ready. Your data is kept.install.sh with the new domain. The website is rebuilt for the new address.All settings are in the .env file next to docker-compose.yml. After editing run bash scripts/start.sh (add --rebuild for the website name, email and phone, or use scripts/rename.sh).
| Setting | What it is |
|---|---|
DOMAIN, SITE_URL |
Your address. Set by install.sh. |
BRAND_NAME, NEXT_PUBLIC_BRAND_NAME |
The website name (use scripts/rename.sh). |
NEXT_PUBLIC_CONTACT_EMAIL, NEXT_PUBLIC_CONTACT_PHONE, SUPPORT_EMAIL |
Support contacts shown on the site and in order emails. |
DATABASE_URL, POSTGRES_PASSWORD |
The database. Generated by install.sh. |
JWT_*, OTP_SECRET |
Secrets that sign logins and emailed codes. Generated. Changing them logs everyone out. |
SECRETS_ENCRYPTION_KEY |
Encrypts the payment keys restaurants save. Never change or lose it. |
SMTP_*, REQUIRE_EMAIL_VERIFICATION |
Email, see Email (SMTP). |
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET |
Google login. |
GOOGLE_TRANSLATE_API_KEY |
Optional automatic translation of menus (bash scripts/configure.sh translate). |
AI_PROVIDER, AI_MODEL, ANTHROPIC_API_KEY, OPENAI_API_KEY, GROQ_API_KEY |
Optional AI replies in restaurant chats when the built-in answers do not match. AI_PROVIDER is anthropic, openai, groq or none (default none); give the key of the provider you choose. AI_MODEL picks a different model. Add or change them with bash scripts/configure.sh ai. |
PAYPAY_BASE_URL |
PayPay sandbox or live address. |
DELIVERY_WEBHOOK_SECRET |
Only if an outside delivery service calls your server. Empty refuses all such calls. |
MAX_UPLOAD_SIZE_MB |
Largest photo a restaurant can upload (default 5). |
/var/www/lb-new..env file):
cd /var/www/lb-new/LogicBit-Restaurant-Platform
sudo bash scripts/update.sh /var/www/LogicBit-Restaurant-Platform
It takes a backup first, copies the new version in, keeps your .env, certificate and data, adds any new settings to your .env (and tells you), rebuilds, updates the database tables and restarts. If a database change would delete data, the update stops instead and tells you. If something goes wrong, restore the backup it made, see Backup & restore.
The installer schedules a backup every day at 2:30 and makes the first one straight away. You can also run one yourself at any time:
bash scripts/backup.sh
It saves the database, the uploaded photos and your .env into backups/<date-time>/ and keeps the newest 14. The env.backup file contains your secrets, so keep backups private and copy the backups folder off the server regularly.
What the daily backup did is written to logs/backup.log. The job lives in /etc/cron.d/logicbit-backup (if you installed without root, in your own crontab). Installed with --no-backup? Add the job yourself with crontab -e:
30 2 * * * cd /var/www/LogicBit-Restaurant-Platform && bash scripts/backup.sh >> logs/backup.log 2>&1
bash scripts/restore.sh backups/20260101-023000
bash scripts/restore.sh backups/20260101-023000 --with-env # on a new server, also restores .env
This replaces the current database and photos, so it asks you to type yes.
bash scripts/restore.sh backups/<folder> --with-env..env file private (the installer sets it to permissions 600). Never email it or put it in a public repository.sudo apt-get update && sudo apt-get upgrade from time to time) and apply new versions of this product with scripts/update.sh.REQUIRE_EMAIL_VERIFICATION="true" once email works.sk_live_ keys only on your live site.First stop for most problems: bash scripts/status.sh and bash scripts/logs.sh api (or web, nginx, db).
| Problem | What to do |
|---|---|
| The installer says the domain does not point to this server | Add or fix the A record at your domain provider, wait a few minutes, and run it again. Behind Cloudflare's proxy use --skip-dns-check. |
| The HTTPS certificate was not issued | Port 80 is usually blocked: open it in the server firewall and in your hosting provider's firewall, if it has one. Or the domain does not point here yet. Fix it and run the same command again, or use --no-ssl and add HTTPS later. |
| "502 Bad Gateway" in the browser | The server or website is not running yet or has crashed. Run bash scripts/status.sh, then bash scripts/logs.sh api. bash scripts/start.sh starts anything that stopped. |
| The build fails or the server freezes while installing | Not enough memory. Add swap, then run the installer again:
|
| I forgot the admin password | bash scripts/create-admin.sh with the same email. |
| Photo upload fails | The limit is 5 MB per photo. Resize large camera photos (2000 pixels wide is plenty). |
| The site is down after the server rebooted | Everything restarts by itself when Docker starts. If it does not: sudo systemctl enable --now docker, then bash scripts/start.sh. |
| A change is not visible | Clear the browser cache. If the domain is behind Cloudflare, purge its cache too. |
| Sign-up codes and emails do not arrive | Check the SMTP settings (Email), then bash scripts/logs.sh api for the error. Check the spam folder and that your sender address is verified with your email provider. |
| Customers cannot sign up or sign in after I switched on email verification | Email is not working yet. Set REQUIRE_EMAIL_VERIFICATION="false", run bash scripts/start.sh, fix email, then switch it back. |
| The site still shows the old name or logo | The website must be rebuilt: bash scripts/start.sh --rebuild (or scripts/rename.sh). Clear the browser cache. |
| Restaurants' saved Stripe or PayPay keys stopped working after a restore | The restored database needs the original SECRETS_ENCRYPTION_KEY. Use scripts/restore.sh ... --with-env. |
| "The database update was stopped to protect your data" during an update | Your backup is safe in backups/. Contact support before trying again. |
apt-get says "Could not get lock" right after the server starts |
Ubuntu is running its own automatic update. Wait a few minutes and try again. Do not delete the lock files. If it never ends, the server cannot reach Ubuntu's package servers: check its internet access and DNS. |
| "Port 80 (or 443) is already in use" | Another web server runs on the machine. Stop it (sudo systemctl stop apache2 nginx) and run the installer again. |
| Part | Details |
|---|---|
| Server | NestJS 10, Prisma 5.22, PostgreSQL 16, Node.js 22 (inside Docker), port 3005, REST API under /api/v1. Source in server/. |
| Website | Next.js 16 (React 19, Tailwind 4), port 3701. Source in client/. Settings starting with NEXT_PUBLIC_ are built into the website. |
| Database | The tables are created with prisma db push. The schema is server/prisma/schema.prisma. |
| Uploads | Photos are saved to disk (Docker volume logicbit_uploads). There is no cloud storage option yet. |
| Scheduled jobs | A daily subscription job and an unpaid-order expiry job run inside the server. Run one copy of the server only. |
docker compose ps # what is running
docker compose logs -f api # live server log
docker compose exec api sh # shell inside the server
docker compose exec db psql -U logicbit logicbit # database console
docker compose run --rm --no-deps api npm test # server tests
Can I run several marketplaces on one server? Each installation is one marketplace. Run another copy on another server.
Does it work on shared PHP hosting or cPanel? No. It needs a server where you can run Docker.
Which languages does the site support? English and Japanese.
Where do the restaurants' photos live? On the server's disk. They are included in scripts/backup.sh.
Can I use my own database? Yes: install.sh --external-db postgresql://....
How do I stop and start it? bash scripts/stop.sh and bash scripts/start.sh. Your data is kept.
Which map and address search does it use? The maps use OpenStreetMap's public tile server and the address search uses OpenStreetMap's public Nominatim service. Both are free but have fair-use limits, so a marketplace with heavy traffic should switch to a commercial map and geocoding provider (this needs a code change in client/components/map).
How many restaurants can it hold? As many as the server can handle. Each owner signs up and runs their own restaurant.
Do I need to know Docker? No. The scripts do everything; Docker is only needed on the server.
How do I remove everything? docker compose down -v in the install folder deletes the containers and all data (database and photos). Take a backup first if you might need it.
Can I install it for a client? See the licence terms in licensing/LICENSE.txt.
Open-source software used: Next.js, React, TanStack Query, Zustand, Zod, Recharts, next-intl, axios, Tailwind CSS plug-ins (MIT); Leaflet (BSD-2-Clause); react-leaflet (Hippocratic License 2.1); lucide-react (ISC); NestJS, Passport, Prisma, Stripe's Node library, bcrypt, class-validator, class-transformer, helmet, multer, date-fns, uuid (MIT or Apache-2.0); Nodemailer (MIT-0); dotenv (BSD-2-Clause). Fonts (Geist, Space Grotesk, JetBrains Mono, Bricolage Grotesque, DM Sans, Noto Sans JP) under the SIL Open Font License 1.1, see licensing/OFL-fonts.txt. Map tiles are loaded from OpenStreetMap, and address search uses OpenStreetMap's Nominatim service. Full list: licensing/THIRD-PARTY-NOTICES.txt. Licence terms: licensing/LICENSE.txt.
Contact LogicBit Solution (logicbitsolution.com) through the place you bought the item (for example LBS Market → My Account → Support), and quote your purchase code. Support hours: Sunday–Friday, 10:00–18:00 Nepal time (UTC+5:45).
Please include the output of bash scripts/status.sh and the last lines of bash scripts/logs.sh api, and say which step you were on. Support covers questions about the product's features, bug fixes and help with the documented installation steps. It does not cover customisation, server administration beyond these steps, or third-party services (your email provider, Stripe, PayPay, Uber, Google, your hosting).
First release as a self-hosted package.
install.sh) with Docker: database, server, website and Nginx, free HTTPS, firewall setup, the platform admin account, a first backup and a daily automatic backup, and the helper scripts in the scripts folder.scripts/rename.sh (website name, support email and phone), scripts/create-admin.sh, scripts/backup.sh, scripts/restore.sh, scripts/update.sh, scripts/status.sh, scripts/start.sh, scripts/stop.sh, scripts/logs.sh.
Item support includes: answering questions about how to use the item, help with reported bugs and issues, and help with included third-party assets.
Item support does not include: customization and installation services, or support for third-party plugins.
by LBS Market in MongoDB
by LBS Market in Next.js
by LBS Market in AI Tools
by LBS Market in Next.js
LogicBit Restaurant SaaS — Multi-tenant Restaurant Platform (Next.js + NestJS)
Pay via eSewa, Khalti, Fonepay or bank transfer. Send the purchase request and we will email you the payment details and your license within a few hours.