-
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
Franco Méndez
committed
Oct 20, 2019
1 parent
2c96ae1
commit 120a993
Showing
1 changed file
with
68 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,68 @@ | ||
<!-- [![travisB]][travisL] --> | ||
[![stdVersionB]][stdVersionL] | ||
[![commitsB]][commitsL] | ||
[![prettierB]][prettierL] | ||
|
||
# Salgode API | ||
|
||
API alojada en Amazon Web Services haciendo uso de API Gateway, Lambda y DynamoDB. | ||
Frontend se encuentra [aquí](https://github.com/Varuscl/salgode/). | ||
|
||
Sigue el desarrollo en [nuestro Trello](https://trello.com/b/GCTJ1iMU/salgode). | ||
|
||
## Indice | ||
|
||
- [Scripts](#scripts) | ||
- [Workflow](#workflow) | ||
- [Gitflow](#gitflow) | ||
- [Release](#release) | ||
- [Motores](#motores) | ||
|
||
## Scripts | ||
|
||
- `yarn deploy` | ||
|
||
Sube el código a la función de AWS Lambda correspondiente. | ||
|
||
- `yarn lint` | ||
|
||
Corre el verificador de estilos. | ||
|
||
- `yarn lint:fix` | ||
|
||
Corrige las fallas de estilos que se pueden corregir automáticamente. | ||
|
||
## Workflow | ||
|
||
### Development | ||
|
||
- Las ramas `feat/*`, `fix/*`, `chore/*`, `hotfix/*` and `docs/*` se ven bien con `dash-case`. | ||
|
||
- Usamos **squash and merge** a `dev` usando [conventional commits](https://conventionalcommits.org). | ||
|
||
### Release | ||
|
||
- Hacemos **merge** de `dev` a `master` localmente. | ||
|
||
- Si el _fast-forward_ no es posible, usamos `prerelease: merge branch 'dev'` como _commit message_. | ||
|
||
- Luego hacemos el _release_ usando [standard version](https://github.com/conventional-changelog/standard-version#installation) con el comando `yarn release`, que se encarga de generar el CHANGELOG de la versión automáticamente y subir los cambios a GitHub con el tag de la nueva versión. | ||
|
||
## Motores | ||
|
||
- node ^12.9.1 | ||
- yarn ^1.17.3 | ||
|
||
<!-- BADGES --> | ||
|
||
<!-- [travisB]:https://travis-ci.com/ | ||
[travisL]:https://travis-ci.com/ --> | ||
|
||
[stdVersionB]:https://img.shields.io/badge/release-standard%20version-blue.svg | ||
[stdVersionL]:https://github.com/conventional-changelog/standard-version | ||
|
||
[commitsB]:https://img.shields.io/badge/commits-conventional%20-blue.svg | ||
[commitsL]:https://conventionalcommits.org | ||
|
||
[prettierB]:https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square | ||
[prettierL]:https://github.com/prettier/prettier |