Skip to content

Commit

Permalink
Merge pull request #4 from auguzsto/0.1
Browse files Browse the repository at this point in the history
fix: IHeader nullable + README.md
  • Loading branch information
auguzsto authored Dec 15, 2023
2 parents d4b2be4 + 86b4889 commit ba0183c
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Tecnologias (Frontend)
- NextJS
- React
- TypeScript

# Tecnologias (Backend)
- PHP
- MySQL

# Como executar localmente?
### Requerimentos
- Xamp (>=8.2.12-0-VS16)
- NodeJS (>=20.10.0) & NPM (>=10.2.5)
- PHP (>=8.2.12)
- MySQL (>=15.1)

### Executando o backend

1. `git clone https://github.com/auguzsto/employees-manager.git`
2. Abra a pasta do projeto para configurar o banco de dados.
1. Navegue até o ditório backend/
2. Abra o arquivo config.php e ponha os referentes a suas configurações locais.
3. Abra a pasta do projeto e execute o terminal.
4. Com o terminal aberto execute os seguintes comandos.
1. `cd .\backend\`
2. ` C:\xampp\php\php.exe -S 0.0.0.0:8000 -t .`
3. Deixe o terminal aberto e siga as instruções para executar o frontend
5. http://localhost:8000/
### Executando o frontend
1. Abra a pasta do projeto e execute o terminal
2. Com o terminal aberto execute os seguintes comandos
1. `cd .\frontend\`
2. `npm install`
3. `npm run build`
4. `npm run start`
5. Deixe o terminal aberto.
3. http://localhost:300/


2 changes: 1 addition & 1 deletion frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react"

interface IHeader {
title: string,
title?: string,
}

const Header = (props: IHeader) => {
Expand Down

0 comments on commit ba0183c

Please sign in to comment.