Skip to content

Commit fc7b487

Browse files
committed
README
1 parent 84ded72 commit fc7b487

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# RESTful com Node.js, Restify e MySQL
2+
3+
> Este projeto foi desenvolvido durante a gravação da série de screencasts disponível em [https://www.youtube.com/playlist?list=PLFJmwzuHdBRTBbkyH0gATtDhj6ikOIkMy](https://www.youtube.com/playlist?list=PLFJmwzuHdBRTBbkyH0gATtDhj6ikOIkMy) e é pré-requisito para o curso **Single Page Application com Vue.js** [http://www.treinatom.com.br/pt/edukee/detalhes-do-evento/190edc6b7593e3081a858f55652abd92a9d07353](http://www.treinatom.com.br/pt/edukee/detalhes-do-evento/190edc6b7593e3081a858f55652abd92a9d07353)
4+
5+
### Pré-requisitos
6+
7+
. **Node.js** versão 8 ou superior
8+
. **Nodemon** - `npm i -g nodemon`
9+
10+
### Instalação
11+
12+
1. Faça o clone do repositório e no terminal navegue até a pasta;
13+
2. Instale as dependências do projeto com `npm install`;
14+
3. Rode o servidor de desenvolvimento com `npm run dev`.
15+
4. Edite o arquivo `/src/services/mysql/index.js` e adicione as suas próprias configurações de conexão com o MySQL. Não se esqueça de criar a tabela:
16+
```create table categories (id INT(11) unsigned not null auto_increment, name VARCHAR(255), primary key(id));```
17+
4. O *endpoint* do serviço estará disponível em http://localhost:3456
18+
19+
### Sugestão
20+
21+
Utilize o Postman para testar suas chamadas. [https://www.getpostman.com/](https://www.getpostman.com/).

0 commit comments

Comments
 (0)