🔗 visit https://aljazara.com
git clone https://github.com/zaqoutm/aljazara.git
cd aljazara
npm install- We need Directus app running
https://your-api-url - Set .env variables
NEXT_PUBLIC_API_PATH=http://localhost:8055/items
CURRENT_IMPL=directus
- Update next.config.ts remove
output: 'export', or just comment it out//
npm run dev http://localhost:3000/
- Enable app route
/src/app/_apito.../api
just rename the folder, remove the underscore _
next.config.tsdisableoutput: 'export'
npm run dev http://localhost:3000/
(SSG) Static Site Generation
- Enable
output:'export'in next.config.ts - Remove or hide
src/app/apiadding _.../_api - Set .env variables
NEXT_PUBLIC_API_PATH=http://localhost:8055/items
CURRENT_IMPL=directus
npm run lint
npm run build && npm run postbuildTry live-server out http://127.0.0.1:8080
- ▲ Next.js 15.1.6
- React 19
- motion
- fakerjs
- moment
src/app/api/articles/route.ts
http://localhost:3000/api/articles/
> Node v22.13.1 Maintenance LTS
> npm 11.4.2📄 License MIT License © 2025 📬 Contact Email: mo.zaqout@gmail.com

