Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonemandola/demo-chat-modal
It's a demo in which a user has a conversation with his tutor.
https://github.com/simonemandola/demo-chat-modal
Last synced: 5 days ago
JSON representation
It's a demo in which a user has a conversation with his tutor.
- Host: GitHub
- URL: https://github.com/simonemandola/demo-chat-modal
- Owner: simonemandola
- Created: 2023-09-20T09:00:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-24T12:53:14.000Z (about 1 year ago)
- Last Synced: 2023-09-25T03:26:38.803Z (about 1 year ago)
- Language: Vue
- Size: 2.03 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo Modal Chat con Vue 3 + Vite + TypeScript + Cypress + Tailwind CSS
It's a demonstration in which a user engages in a conversation with their tutor.The project uses Vue 3 `` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
## Docs 📄
- [Vue 3](https://vuejs.org/guide/introduction.html)
- [Vite](https://vitejs.dev/guide/)
- [Pinia](https://pinia.vuejs.org/getting-started.html)
- [Tailwind CSS](https://v2.tailwindcss.com/docs/installation)
- [Cypress](https://docs.cypress.io/guides/getting-started/installing-cypress)## Install 💾
Clone the repository https://github.com/simonemandola/demo-chat-modal.git and install dependencies:
```bash
npm install
```## Run Development Server 🏃♂️
Run the command below:
```bash
npm run dev
```And open: [http://localhost:5173/](http://localhost:5173/)
## Build 🏗️
Run the command below:
```bash
npm run build
```
Publish directory: **/dist**## E2E Test 🧐
All test scripts are in '**cypress**' folder, inside you can create how many folders you need, they will be automatically scanned from Cypress.To run the test, ensure that the dev server is running and then run:
```bash
npm run cypress:open
```
Automatically will be open the Cypress CLI, then choose the test you want to run.## Features 📦
- Vue 3 (Composition API) whit `script setup`
- Vite
- TypeScript
- Pinia 🍍
- Tailwind CSS
- Cypress## Mockups 📸
### Screenshot
![](src/assets/mockups/screenshot.png "screenshot")
### Typing message
![](src/assets/mockups/message-typing.png "Typing message")
### Message sent
![](src/assets/mockups/message-sent.png "Message sent")
### Upload document
![](src/assets/mockups/document-upload.png "Upload document")
### Document sent
![](src/assets/mockups/document-sent.png "Document sent")