diff --git a/client/proxy-config.json b/client/proxy-config.json index de3d77b..231ed28 100644 --- a/client/proxy-config.json +++ b/client/proxy-config.json @@ -1,6 +1,6 @@ { "/api/*": { - "target":"http://localhost:3000", + "target":"http://localhost:3008", "secure":false, "logLevel":"debug" } diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html index fb304e3..870fd12 100644 --- a/client/src/app/login/login.component.html +++ b/client/src/app/login/login.component.html @@ -27,7 +27,7 @@

Create an Account

- +
diff --git a/client/src/app/login/login.component.scss b/client/src/app/login/login.component.scss index f4167b8..b8d0aad 100644 --- a/client/src/app/login/login.component.scss +++ b/client/src/app/login/login.component.scss @@ -1,5 +1,6 @@ @import '../../variables'; #login { + text-align: center; button { margin: 0 $single-space; cursor: pointer; @@ -18,11 +19,14 @@ } @media only screen and (max-width: 1223px) and (min-width: 320px) { - #login { + h1 { margin-top: $single-space * 8; + } + #login { display: flex; flex-direction: column; align-items: center; + justify-content: center; padding: $double-space; label { margin-bottom: -$single-space; @@ -41,7 +45,7 @@ color: white; margin: 4em auto; width: 100%; - text-align: center; + .input-group { margin: $quad-space; label { diff --git a/server/app.js b/server/app.js index cf81f62..6ca7122 100644 --- a/server/app.js +++ b/server/app.js @@ -95,4 +95,4 @@ app.use((err, req, res, next) => { -server.listen(process.env.PORT || 3000); \ No newline at end of file +server.listen(process.env.PORT || 3008); \ No newline at end of file diff --git a/server/variables.env b/server/variables.env index 2268665..827e4ff 100644 --- a/server/variables.env +++ b/server/variables.env @@ -1,2 +1,3 @@ NODE_ENV=development -DATABASE=mongodb://localhost/socrates \ No newline at end of file +DATABASE=mongodb://localhost/socrates +PORT=3012 \ No newline at end of file