Skip to content

Commit 148b915

Browse files
committed
merge conflicts
2 parents 7a05310 + e4f2f70 commit 148b915

File tree

8 files changed

+33593
-6620
lines changed

8 files changed

+33593
-6620
lines changed

README.md

100755100644
File mode changed.

buildspec.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ version: 0.2
33
env:
44
variables:
55
AWS_REGION: "us-west-1"
6+
<<<<<<< HEAD
67
REACT_APP_API_SERVICE_URL: "http://flask-react-alb-166710978.us-west-1.elb.amazonaws.com"
8+
=======
9+
REACT_APP_API_SERVICE_URL: "http://flask-react-alb-1132421372.us-west-1.elb.amazonaws.com"
10+
>>>>>>> e4f2f7071947d2dfd2a942b8fa916b92744eb446
711

812
phases:
913
pre_build:

services/client/package-lock.json

Lines changed: 33566 additions & 6614 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/client/src/App.jsx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
11
import React, { Component } from "react";
22
import axios from "axios";
3+
<<<<<<< HEAD
34
import { Route, Routes } from "react-router-dom";
45
import Modal from "react-modal";
56

67
import About from "./components/About";
78
import AddUser from "./components/AddUser";
89
import LoginForm from "./components/LoginForm";
910
import Message from "./components/Message";
11+
=======
12+
import { Route, Switch } from "react-router-dom";
13+
14+
import AddUser from "./components/AddUser";
15+
import About from "./components/About";
16+
import LoginForm from "./components/LoginForm";
17+
import Message from "./components/Message";
18+
import Modal from "react-modal";
19+
>>>>>>> e4f2f7071947d2dfd2a942b8fa916b92744eb446
1020
import NavBar from "./components/NavBar";
1121
import RegisterForm from "./components/RegisterForm";
1222
import UsersList from "./components/UsersList";
@@ -41,7 +51,11 @@ class App extends Component {
4151

4252
componentDidMount() {
4353
this.getUsers();
54+
<<<<<<< HEAD
4455
}
56+
=======
57+
};
58+
>>>>>>> e4f2f7071947d2dfd2a942b8fa916b92744eb446
4559

4660
addUser = (data) => {
4761
axios

services/users/manage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
cli = FlaskGroup(create_app=create_app)
88

99

10-
@cli.command("recreate_db")
10+
@cli.command('recreate_db')
1111
def recreate_db():
1212
db.drop_all()
1313
db.create_all()
@@ -21,5 +21,5 @@ def seed_db():
2121
db.session.commit()
2222

2323

24-
if __name__ == "__main__":
24+
if __name__ == '__main__':
2525
cli()

services/users/src/tests/test_users.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def test_add_user_invalid_json_keys(test_app, test_database):
4141
client = test_app.test_client()
4242
resp = client.post(
4343
"/users",
44-
data=json.dumps({"email": "john@testdriven.io"}),
44+
data=json.dumps(
45+
{"email": "john@testdriven.io", "password": "greaterthaneight"}
46+
),
4547
content_type="application/json",
4648
)
4749
data = json.loads(resp.data.decode())

services/users/src/tests/test_users_unit.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ def test_add_user_invalid_json_keys(test_app, monkeypatch):
5454
client = test_app.test_client()
5555
resp = client.post(
5656
"/users",
57-
data=json.dumps({"email": "john@testdriven.io"}),
57+
data=json.dumps(
58+
{"email": "john@testdriven.io", "password": "greaterthaneight"}
59+
),
5860
content_type="application/json",
5961
)
6062
data = json.loads(resp.data.decode())
@@ -66,7 +68,7 @@ def test_add_user_duplicate_email(test_app, monkeypatch):
6668
def mock_get_user_by_email(email):
6769
return True
6870

69-
def mock_add_user(username, email, password):
71+
def mock_add_user(username, email):
7072
return True
7173

7274
monkeypatch.setattr(

terraform/01_provider.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
provider "aws" {
22
region = var.region
3-
profile = "personal"
43
}

0 commit comments

Comments
 (0)