-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add new info, screenshots, etc
- Loading branch information
1 parent
f5fce48
commit 5c76056
Showing
7 changed files
with
106 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Architecture of the project | ||
|
||
## Table of Contents <!-- omit in toc --> | ||
|
||
- [Architecture of the project](#architecture-of-the-project) | ||
- [Introduction](#introduction) | ||
- [Folder structure](#folder-structure) | ||
- [Pages](#pages) | ||
|
||
## Introduction | ||
|
||
This boilerplate uses [Next.js](https://nextjs.org/) framework for building React applications. | ||
|
||
## Folder structure | ||
|
||
```txt | ||
. | ||
├── cypress <-- Here are your E2E tests | ||
│ ├── downloads | ||
│ ├── e2e <-- Here are your specs | ||
│ ├── fixtures | ||
│ └── support | ||
├── public | ||
└── src | ||
├── app | ||
│ └── [language] <-- Here are your pages (routes) | ||
│ ├── admin-panel | ||
│ ├── confirm-email | ||
│ ├── forgot-password | ||
│ ├── password-change | ||
│ ├── profile | ||
│ ├── sign-in | ||
│ └── sign-up | ||
├── components <-- Here are your common components (Forms, Tables, etc.) | ||
│ ├── confirm-dialog | ||
│ ├── form | ||
│ └── table | ||
└── services <-- Here are your services (Auth, API calls, I18N, etc.) | ||
├── api | ||
├── auth | ||
├── helpers | ||
├── i18n | ||
│ └── locales | ||
├── leave-page | ||
├── react-query | ||
└── social-auth | ||
``` | ||
|
||
## Pages | ||
|
||
Pages are located in the `src/app/[language]` folder. We use `[language]` directory to support internationalization with ability generate static website (`output: export`). Example [here](https://github.com/i18next/next-13-app-dir-i18next-example). | ||
|
||
--- | ||
|
||
Previous: [Installing and Running](installing-and-running.md) | ||
|
||
Next: [Testing](testing.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,4 +74,4 @@ | |
|
||
Previous: [Introduction](introduction.md) | ||
|
||
Next: [Testing](testing.md) | ||
Next: [Architecture](architecture.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters