File Structure
After successfully running the platform locally, the next step is to understand the structure of the program. This way, you can quickly find the corresponding folders for modification when modifying various functions. The main structure of the program is listed below, with explanations to follow.
OneDayBuild β
βββ app β‘
β βββ [locale]
β β βββ (dashboard) β’
β β β βββ (route)
β β β β βββ agentui
β β β β βββ ai
β β β β βββ dashboard
β β β β βββ setting
β β β βββ layout.js
β β βββ (site) β£
β β β βββ (auth)
β β β β βββ changepassword
β β β β βββ login
β β β β βββ register
β β β βββ privacy-policy
β β β βββ theme
β β β βββ tos
β β β βββ layout.js
β β βββ layout.js
β β βββ page.jsx
β βββ api β€
β βββ ...
β βββ api
βββ components β₯
β βββ ...
β βββ components...jsx
βββ libs β¦
β βββ i18n
β β βββ messages
β β β βββ en.json
β β β βββ cn.json
β βββ themes
β β βββ providers.js
β βββ faqs.js
β βββ prismadb.jsx
β βββ seo.js
βββ prisma β§
β βββ schema.prisma
βββ public β¨
β βββ img
βββ .env
βββ config.js
βββ middleware.js
βββ next.config.js
βββ package.json
βββ README.md
βββ tailwind.config.js