Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
msantamariaglobant committed Feb 25, 2021
1 parent ba873ff commit d453962
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 43 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# STB_BANK APP
# Development Start Guide

## Pre Requisitos
Tener instalado

Node JS v12 en adelante
NPM 6+

Instalar serverles by npm

npm i -g serverless
## Database
Start Database

Expand Down Expand Up @@ -29,6 +38,8 @@ En la carpeta front end correr el comando:
Conexion a Internet

### Cambiar la conexion de la base de datos segun corresponda:

En el archivo .env de la carpeta **"backend"** en la raiz del proyecto:

### Docker
MONGODB_URL=mongodb://mongodb:27017/database
Expand Down Expand Up @@ -59,7 +70,7 @@ En la carpeta front end correr el comando:
SuperUsuario: admin@test.com
Clave: 12345678

### Cliete NoSQL
### Cliente NoSQL

**En un Navegador acceder a la url**

Expand Down
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stb-backend",
"version": "1.0.0",
"version": "1.1.0",
"description": "Backend Serverless with mongodb as persistance data instance",
"main": "handler.js",
"scripts": {
Expand Down
36 changes: 0 additions & 36 deletions frontend/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs-frontend",
"version": "0.1.0",
"version": "1.1.0",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Register.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class RegisterContent extends Component {
}

}).catch(error => {
alert("No hemos podido registrarte debido a problemas tecnicos.")
alert("No hemos podido registrarte debido a problemas técnicos.")
})
} else {
this.setState({
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/forgotPass.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ class RecuperarContra extends Component {
this.setState({ loading: true }, () => {
axios.post(URL, { "email": email, "dateOfBirth": dateOfBirth }).then((resp) => {
if (resp.data.message == "Value of 'dateOfBirth' did not match.") {
this.setState({ FechaNacimientoError: "La fecha de nacimiento no coinside.", loading: false })
this.setState({ FechaNacimientoError: "La fecha de nacimiento no coincide.", loading: false })
} else if (resp.data.message == "Provided email did not match any user.") {
this.setState({ EmailError: "El email ingresado no coinside con el de ningun usuario.", loading: false })
this.setState({ EmailError: "El email ingresado no coincide con el de ningún usuario.", loading: false })
} else {
this.setState({ password: resp.data.passwd, abierto: !this.state.abierto, loading: false })
}
}).catch((error) => {
this.setState({ loading: false })
alert("No hemos podido obtener tu contraseña debido a problemas tecnicos.")
alert("No hemos podido obtener tu contraseña debido a problemas técnicos.")
});
});
}
Expand Down

0 comments on commit d453962

Please sign in to comment.