-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'web/doc/app' into development
- Loading branch information
Showing
16 changed files
with
183 additions
and
43 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1 +1,99 @@ | ||
# Back-End | ||
WizePrompt Server side of the web application that is responsible of handling | ||
the database interactions and the server connection. The managment of the database is | ||
done through Prisma Client and the created datbase is done by the PostgreSQL software application. | ||
|
||
## Backend-End Dependencies | ||
- [x] **Prisma** | Database Managment | ||
- [x] **PostgreSQL** | Open Source Database | ||
|
||
## Back-End Section and Files | ||
|
||
### [Api Routes](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api) | ||
* [OpenAI IA language models](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/ai/openai) | ||
``` | ||
POST /ai/openai/dalle | ||
POST /ai/openai/gpt-3.5-turbo | ||
POST /ai/openai/gpt-4 | ||
POST /ai/openai | ||
``` | ||
* [Authentication Auth0](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/auth/%5Bauth0%5D) | ||
``` | ||
GET /auth/:auth0 | ||
``` | ||
* [User Conversations](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/conversations) | ||
``` | ||
GET /conversations/user/:id | ||
PATCH /conversations/user/:id | ||
POST /conversations | ||
GET /conversations/:id | ||
PATCH /conversations/:id | ||
DELETE /conversations/:id | ||
PATCH /conversations/deactivate/:id | ||
``` | ||
* [User Groups](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/groups) | ||
``` | ||
GET /groups | ||
GET /groups/:id | ||
PATCH /groups/:id | ||
DELETE /groups/:id | ||
``` | ||
* [User Keys](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/keys) | ||
``` | ||
GET /keys/user/:id | ||
POST /keys | ||
PATCH /keys/:id | ||
DELETE /keys/:id | ||
``` | ||
* [User Messages](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/messages) | ||
``` | ||
GET /messages/conversation/:id | ||
POST /messages | ||
PATCH /messages/:id | ||
DELETE /messages/:id | ||
``` | ||
* [IA language model](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/models) | ||
``` | ||
GET /models | ||
GET /models/:id | ||
PATCH /models/:id | ||
``` | ||
* [Parameters](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/params) | ||
``` | ||
GET /params/conversation/:id | ||
POST /params | ||
PATCH /params/:id | ||
DELETE /params/:id | ||
``` | ||
* [Providers](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/providers) | ||
``` | ||
GET /providers | ||
GET /providers/:id | ||
PATCH /providers/:id | ||
``` | ||
* [User Tags](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/tags) | ||
``` | ||
GET /tags/user/:id | ||
GET /tags/conversation/:id | ||
POST /tags | ||
PATCH /tags/:id | ||
DELETE /tags/:id | ||
``` | ||
* [Users](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/app/api/users) | ||
``` | ||
GET /users | ||
GET /users/:id | ||
PATCH /users/:id | ||
DELETE /users/:id | ||
``` | ||
|
||
### Web Application Prisma Database, Types & Library | ||
WizePrompt Prisma files and the database Prisma Squema | ||
* [Prisma](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/prisma) | ||
* [Prisma Database Squema](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/blob/main/apps/web/prisma/schema.prisma) | ||
|
||
Back-End Types, Library & functions | ||
* [Types](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/lib) | ||
* [Library](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/types) | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"commands": "Build Instructions / Commands", | ||
"environment": "Environment Api Keys" | ||
|
||
} |
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,7 @@ | ||
# Build Instructions / Commands | ||
|
||
WizePrompt counts with Github Actions, which makes the process of build and commands totally automatic. | ||
When you merge any Github branch to the Main project, the **build, deployment & Release** are done by Github Actions. | ||
|
||
## CI/CD | ||
- [x] **Github Actions** |
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
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 |
---|---|---|
@@ -1 +1,27 @@ | ||
# Front-End | ||
# Front-End | ||
WizePrompt Client side and interactive part of the web application that | ||
works with several front-end frameworks and UI components for the interface design. | ||
|
||
## Front-End Dependencies | ||
- [x] **Next.js 14** | Web Application Framework | ||
- [x] **Tailwind CSS** | Styling Framework | ||
- [x] **NextUI** | UI Components | ||
- [x] **Shadcn/ui** | UI Components | ||
|
||
## Front-End Section and Files | ||
|
||
### Interface Components | ||
- **[Admin Page](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/components/admin)** | ||
- **[User Page](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/components/user)** | ||
- **[Shared Components](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/components/shared)** | ||
- **[Login Auth0](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/components/login)** | ||
- **[UI Components](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/components/ui)** | ||
- [button.tsx](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/blob/main/apps/web/components/ui/button.tsx) | ||
- [codeblock.tsx](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/blob/main/apps/web/components/ui/codeblock.tsx) | ||
- [icons.tsx](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/blob/main/apps/web/components/ui/icons.tsx) | ||
- [skeleton.tsx](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/blob/main/apps/web/components/ui/skeleton.tsx) | ||
- [slider.tsx](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/blob/main/apps/web/components/ui/slider.tsx) | ||
|
||
|
||
|
||
|
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"gitcode": "Git Code to Local System", | ||
"packages": "Dependency Packages and Tools" | ||
|
||
} |
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
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 |
---|---|---|
@@ -1 +1,14 @@ | ||
# Unit Testing or Basic testing steps | ||
# Unit Testing or Basic testing steps | ||
To unit test the web application of WizePrompt you will need to | ||
install the Framework first. This happens in the section **Setup/Dependency Packages and Tools**. | ||
|
||
## Unit Testing Dependencies | ||
- [x] **Playwright** | Web testing Framework | ||
|
||
## Start testing the project | ||
WizePropmt already count with different types of test cases to use. | ||
These are inside the app repository [Tests](https://github.com/wizelineacademy/itesm-socioformador-ago-dec-2023-team-02/tree/main/apps/web/tests) | ||
> After positioning yourself inside this file, you can start finally testing WizePrompt with this command: | ||
> ```js filename="TERMINAL" {1} copy | ||
> pnpm test:ci | ||
> ``` |