Low-code and No-code Website Builder https://nook-app-psi.vercel.app/
  • JavaScript 55.2%
  • TypeScript 39.7%
  • CSS 4.7%
  • HTML 0.4%
Find a file
Pcko 2d00d99fc1
Feature Website-Builder V3.8 Major Refactor
Merge pull request #131 from Pcko/feature/website-builder-v2
2026-04-24 10:20:08 +02:00
api fix(auth): remove rateLimiter for testing and disable email checks 2026-04-20 12:06:30 +02:00
app refactor(Website-Builder): code clean up 2026-04-22 08:41:36 +02:00
rag refactor(page-indexing): make page run asynchronously on local llm 2026-04-16 16:06:05 +02:00
.eslintignore refactor(website-builder): using lint 2025-10-03 18:47:53 +02:00
.gitignore fix(logging): fix method use on undefined environment variable 2025-11-29 20:56:34 +01:00
README.md refactor(publishing): address PR feedback 2026-02-13 12:22:53 +01:00

How to use nook

DEV

API

Run in ./api

Start the development api server:

npm install
npm run dev


Run to get detailed error info:

npm run typecheck

PUBLISHER

Run in ./api

Start the development publisher server:

npm install
npm run publisherDev

APP

Run in ./app

Start the development app server:

npm install
npm run dev


Run a code-check:

npm run lint

npm run lint:fix

PROD

API

Run in ./api

Start the production api server:

npm install
npm run build
npm run prod

PUBLISHER SERVER

Run in ./api

Start the production publisher server:

npm install
npm run publisherProd

APP

Run in ./app

Bundle the server files into a build:

npm install
npm run build

Test the build:

npm run preview

Deploy the dist/ folder to a hosting provider

ENVIRNOMENT VARIABLES

API

MONGODB_URI= <MongoDB connection-string>
DB_NAME= <Database name>
PORT= <Port the server starts on>
PUBLISH_PORT= <Port the publishing server starts on>
ACCESS_TOKEN_SECRET= <Base64 encoded secret>
REFRESH_TOKEN_SECRET= <Base64 encoded secret>
EMAIL_USER= <Email used for the email client>
EMAIL_PASS= <app access passcode for email>
APP_URL= <BaseURL of the app server>
RAG_URL= <BaseURL of the rag server>
RAG_KEY= <RagKey for access to the rag server>
DEVENV=true (remove if starting in production)

APP

VITE_API_URL= <BaseURL of the API server>
VITE_PUBLISH_URL= <BaseURL of the publishing server>