Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 95b5020

Browse files
docs: README
1 parent bb0236c commit 95b5020

File tree

1 file changed

+111
-45
lines changed

1 file changed

+111
-45
lines changed

README.md

+111-45
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,132 @@
1-
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p>
1+
# Teste Técnico [Exon](https://www.linkedin.com/company/exon-sistemas-e-consultoria/)
22

3-
<p align="center">
4-
<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a>
5-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
6-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
7-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
8-
</p>
3+
## 💡 Ideia
94

10-
## About Laravel
5+
Um sistema para gerenciar consultores e seus compromissos, permitindo operações CRUD (Create, Read, Update, Delete) para ambos.
116

12-
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
7+
---
138

14-
- [Simple, fast routing engine](https://laravel.com/docs/routing).
15-
- [Powerful dependency injection container](https://laravel.com/docs/container).
16-
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
17-
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
18-
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
19-
- [Robust background job processing](https://laravel.com/docs/queues).
20-
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
9+
## 💻 Funcionalidades
2110

22-
Laravel is accessible, powerful, and provides tools required for large, robust applications.
11+
### Gerenciamento de Consultores
2312

24-
## Learning Laravel
13+
- Cadastro
14+
- Listagem (com filtros por nome e valor da hora)
15+
- Edição
16+
- Exclusão (com restrições de negócio)
2517

26-
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
18+
### Gerenciamento de Compromissos dos Consultores
2719

28-
You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.
20+
- Cadastro
21+
- Listagem (com filtros por data de início, data fim e consultor)
22+
- Edição
23+
- Exclusão
2924

30-
If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
25+
---
3126

32-
## Laravel Sponsors
27+
## 📋 Requisitos
3328

34-
We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com).
29+
### Funcionais
3530

36-
### Premium Partners
31+
- **Consultores:**
32+
- RF01 - Cadastro de consultor
33+
- RF02 - Listagem de consultores (com filtros)
34+
- RF03 - Edição de consultor
35+
- RF04 - Exclusão de consultor
36+
- **Compromissos:**
37+
- RF05 - Cadastro de compromisso
38+
- RF06 - Listagem de compromissos (com filtros e totalizadores)
39+
- RF07 - Edição de compromisso
40+
- RF08 - Exclusão de compromisso
3741

38-
- **[Vehikl](https://vehikl.com/)**
39-
- **[Tighten Co.](https://tighten.co)**
40-
- **[WebReinvent](https://webreinvent.com/)**
41-
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
42-
- **[64 Robots](https://64robots.com)**
43-
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
44-
- **[Cyber-Duck](https://cyber-duck.co.uk)**
45-
- **[DevSquad](https://devsquad.com/hire-laravel-developers)**
46-
- **[Jump24](https://jump24.co.uk)**
47-
- **[Redberry](https://redberry.international/laravel/)**
48-
- **[Active Logic](https://activelogic.com)**
49-
- **[byte5](https://byte5.de)**
50-
- **[OP.GG](https://op.gg)**
42+
### Não Funcionais
5143

52-
## Contributing
44+
- RNF01 - Versionamento com Git
45+
- RNF02 - Deploy na nuvem
5346

54-
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
47+
### Regras de Negócio
5548

56-
## Code of Conduct
49+
- RN01 - Visualização de totalizador geral de compromissos
50+
- RN02 - Restrição para exclusão de consultor vinculado a compromissos
5751

58-
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
52+
---
5953

60-
## Security Vulnerabilities
54+
## 🗃️ Modelagem dos Dados
6155

62-
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed.
56+
### Consultores
6357

64-
## License
58+
- ID (Inteiro, PK, Auto incrementável)
59+
- Nome completo (String, obrigatório)
60+
- Valor hora (Float)
6561

66-
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
62+
### Compromissos
63+
64+
- ID (Inteiro, PK, Auto incrementável)
65+
- ID do Consultor (Inteiro, FK, obrigatório)
66+
- Data (Date, obrigatório)
67+
- Hora de início (Time, obrigatório)
68+
- Hora fim (Time, obrigatório)
69+
- Intervalo (Time, obrigatório)
70+
71+
---
72+
73+
## 🔧 Tecnologias Utilizadas
74+
75+
- [Laravel 11](https://laravel.com/docs/11.x/installation)
76+
- [PostgreSQL](https://www.postgresql.org/) (Versão 16)
77+
- JavaScript (NodeJS)
78+
- **Vite**
79+
- Composer
80+
- PHP 8.3.7
81+
- NPM
82+
83+
---
84+
85+
## 🔍 Configuração do Ambiente
86+
87+
1. **Clonar o repositório:**
88+
```bash
89+
git clone https://github.com/lucas0headshot/teste-tecnico_exon_2024.git
90+
```
91+
92+
2. **Instalar dependências do Composer:**
93+
```bash
94+
composer install
95+
```
96+
97+
3. **Instalar dependências do NPM (incluindo Vite):**
98+
```bash
99+
npm install
100+
```
101+
102+
4. **Copiar arquivo de configuração do ambiente e configurar:**
103+
```bash
104+
cp .env.example .env
105+
```
106+
Configure o arquivo `.env` com as informações do seu banco de dados.
107+
108+
5. **Gerar a chave de aplicativo Laravel:**
109+
```bash
110+
php artisan key:generate
111+
```
112+
113+
6. **Executar as migrações do banco de dados:**
114+
```bash
115+
php artisan migrate
116+
```
117+
118+
## ▶️ Executando o Projeto
119+
120+
Para iniciar o servidor embutido do Laravel e o servidor de desenvolvimento do Vite, utilize os seguintes comandos em duas janelas de terminal separadas:
121+
122+
1. **Iniciar o servidor Laravel:**
123+
```bash
124+
php artisan serve
125+
```
126+
127+
2. **Iniciar o servidor Vite:**
128+
```bash
129+
npm run dev
130+
```
131+
132+
Acesse o projeto no seu navegador: [http://localhost:8000](http://localhost:8000/)

0 commit comments

Comments
 (0)