forked from jorgehard/atlasware-birthDate-system
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Passos para rodar o backend | ||
|
||
Esse projeto roda com banco de dados Mysql e ambiente Docker [Docker Documentation](https://docs.docker.com/compose/gettingstarted/). | ||
|
||
## Bibliotecas utilizadas | ||
|
||
- bcryptjs | ||
- cors | ||
- dotenv | ||
- express | ||
- jsonwebtoken | ||
- mysql2 | ||
- sequelize | ||
|
||
Para rodar o projeto, digite o comando | ||
|
||
### `npm install` | ||
|
||
Em seguida digite o comando: | ||
|
||
### `docker-compose up -d` | ||
|
||
Isso irá criar um container e rodara ele com um banco de dados configurado para a aplicação. | ||
|
||
Em seguida digite o comando: | ||
|
||
### `npm run dev` | ||
|
||
Ele deverá rodar localmente em ambiente de desenvolvimento, na porta 3333 | ||
Utilize no insomnia a rota: [http://localhost:3333](http://localhost:3333) | ||
|
||
## Leia mais | ||
|
||
Documentação do Docker [Docker compose Start](https://docs.docker.com/compose/gettingstarted/). | ||
|
||
Criando um CRUD utilizando Node + Sequelize + Mysql [NodeJS, Sequelize, Express, Mysql](https://bezkoder.com/node-js-express-sequelize-mysql/). | ||
|
||
## Envolvidos no desenvolvimento | ||
|
||
Jorge Henrique – [@LinkedIn](https://www.linkedin.com/in/jorge-henrique-baptista/) – jorgehenrique@live.com | ||
|
||
Danilo Ferreira - [@LinkedIn](https://www.linkedin.com/in/dfealves/) | ||
|
||
The MIT License (MIT) | ||
|
||
Copyright (c) 2020 |