Skip to content

Commit 609927b

Browse files
authored
Update README.md
[skip ci]
1 parent a82bf17 commit 609927b

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

README.md

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,29 @@
2020

2121
## 💡Lessons Learned
2222
- Database design and Create, Read, Update in SQL
23-
- Rewrote the entire application to use Flask SQL Alchemy
24-
- Developed MVP of application with SQLite locally and Deployed with MySQL on [RDS](https://aws.amazon.com/rds/) instance
25-
- Using Flask as a server-side framework
23+
- Rewrote the entire application to use [Flask SQL Alchemy](https://flask-sqlalchemy.palletsprojects.com/en/2.x/), an extension of [SQL Alchemy](https://www.sqlalchemy.org/)
24+
- Developed MVP of application with SQLite locally and Deployed with MySQL
25+
- Using [Flask](https://flask.palletsprojects.com/en/1.1.x/) as a server-side framework
2626
- Python Class/Models and Schemas
27-
- Jinja templating
28-
- Password hashing using Werkzeug
27+
- [Jinja](https://jinja.palletsprojects.com/en/2.11.x/) templating
28+
- Password hashing using [Werkzeug](https://werkzeug.palletsprojects.com/en/1.0.x/)
2929
- Parsing data from API with python
3030
- Parsing data from SQL queries with python
3131
- Calculations using data from API and database
3232
- Continous integration and continuous deployment with Travis CI
33-
- Deploying application to AWS with [Elastic Beanstalk](https://aws.amazon.com/elasticbeanstalk/) instance and SQL database to a separate [RDS](https://aws.amazon.com/rds/) instance
34-
- Using AWS Cloudfront as Content Delivery Network (CDN) and connecting Google Domains custom domain to AWS CDN
33+
- Hosting application on AWS with an [EC2](https://aws.amazon.com/ec2/) instance with an [Ubuntu](https://ubuntu.com/) operating system, [Gunicorn](https://gunicorn.org/) WSGI HTTP server, and [Nginx](https://www.nginx.com/) reverse proxy
34+
- Hosting MySQL database on AWS with a [RDS](https://aws.amazon.com/rds/) instance
35+
- (Deprecated) Hosting application on AWS with an [Elastic Beanstalk](https://aws.amazon.com/elasticbeanstalk/) instance and MySQL database on AWS with a [RDS](https://aws.amazon.com/rds/) instance
36+
- Using AWS Cloudfront as a Content Delivery Network (CDN) and connecting Google Domains custom domain to AWS CDN
3537

3638
## 🛠 Technologies
37-
|Graphic Design|Front-End|Back-End|Database|Deployment|Testing|
38-
|------------- | ------- | ------ | ------ | -------- | -------|
39-
|Inkscape |HTML5 |Python3 |SQLite and MySQL |[AWS Elastic Beanstalk]() |Pytest|
40-
|. |CSS3 |[Flask](https://flask.palletsprojects.com/en/1.1.x/) |[SQL Alchemy](https://www.sqlalchemy.org/)|[AWS RDS](https://aws.amazon.com/rds/) |Lighthouse|
41-
|. |Bootstrap 4|[Werkzeug](https://werkzeug.palletsprojects.com/en/1.0.x/) |[Flask SQL Alchemy](https://flask-sqlalchemy.palletsprojects.com/en/2.x/) |Git |.|
42-
|. |[Jinja](https://jinja.palletsprojects.com/en/2.11.x/) |. |. |. |.|
39+
|Graphic Design |Front-End |Back-End |Database |Deployment |Testing |
40+
| ------------- | ------------- | ------------- | ------------- | ------------- | --------------|
41+
|Inkscape |HTML5 |Python3 |MySQL |AWS EC2 |Pytest |
42+
|Freepik |CSS3 |Flask |SQL Alchemy |Ubuntu |Lighthouse |
43+
|. |Bootstrap 4 |Werkzeug |Flask SQL Alchemy|Gunicorn |. |
44+
|. |Jinja |. |. |Nginx |. |
45+
|. |. |. |. |AWS RDS |. |
4346

4447
## ⚖️ Methodology
4548

@@ -87,36 +90,36 @@ $ python
8790
$ from application import db
8891
$ db.create_all()
8992
```
90-
- To initialize the database with SQL command-line arguemnts (using MySQL syntax and running one `CREATE TABLE` command at a time):
93+
- To initialize the database with SQL command-line arguemnts (using MySQL syntax) run each `CREATE TABLE` command (one at a time):
9194
```
9295
CREATE TABLE users (
9396
id INTEGER PRIMARY KEY AUTO_INCREMENT,
9497
username VARCHAR(50) UNIQUE,
9598
hash VARCHAR(200) NOT NULL,
9699
cash INTEGER
97-
)
100+
);
98101
CREATE TABLE portfolio (
99102
id INTEGER PRIMARY KEY AUTO_INCREMENT,
100103
user_id INTEGER,
101104
symbol VARCHAR(5),
102105
current_shares INTEGER
103-
)
106+
);
104107
CREATE TABLE bought (
105108
id INTEGER PRIMARY KEY AUTO_INCREMENT,
106109
buyer_id INTEGER,
107-
time VARCHAR,
110+
time VARCHAR(100),
108111
symbol VARCHAR(5),
109112
shares_bought INTEGER,
110113
price_bought FLOAT
111-
)
114+
);
112115
CREATE TABLE sold (
113116
id INTEGER PRIMARY KEY AUTO_INCREMENT,
114117
seller_id INTEGER,
115118
time VARCHAR(100),
116119
symbol VARCHAR(5),
117120
shares_sold INTEGER,
118121
price_sold FLOAT
119-
)
122+
);
120123
```
121124

122125
## 📣 Attribution

0 commit comments

Comments
 (0)