-
Fork and clone repository to your local machine
-
Make sure you have
psql
globally installed, or justPostgreSQL
-
Make sure you create your own
.env
file and put your own values however you like -
In order to start this app in your local browser, type these next commands:
npm ci
npm run prisma-generate
npm run prisma-migrate
npm run dev
After this, you only need to run npm run dev
command, there is no need to repeat all these previous steps.
- layout.tsx (Layout) -> one per project is enough
- page.tsx (Page) -> inside of every foldre (this used to be index.tsx)
- loading.tsx (Loading UI)
- not-found.tsx (Not Found UI)
- error.tsx (Error UI)
- global-error.tsx (Global Error UI)
- route.tsx (API Endpoint)
- template.tsx (Re-rendered Layout)
- default.tsx (Parallel route fallback page)
- folder (Route segment)
- folder/folder (Nested route segment)
- [folder] (Dynamic route segment)
- [...folder] (Catch-all route segment)
- [[...folder]] (Optional catch-all route segment)
- (folder) (Group routes without affecting routing)
- _folder (Opt folder and all child segments out of routing)
- @folder (Named slot)
- (.)folder (Intercept same level)
- (..)folder (Intercept one level above)
- (..)(..)folder (Intercept two levels above)
- (...)folder (Intercept from root)
- sitemap.xml (Sitemap file)
- sitemap.ts (Generated Sitemap)
- robots.txt (Robots file)
- robots.ts (Generated Robots file)