Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull #5

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
ef794b7
Added sql file from Phase 2
natejparker Apr 15, 2023
107a4ea
search page
IvanRudyakov Apr 16, 2023
6965883
Tested commit for first time
natejparker Apr 18, 2023
bc9d0af
"Changed orders table, added chefs files"
natejparker Apr 19, 2023
dd648ca
Added orders route
natejparker Apr 19, 2023
20f90bc
Creates posts for chefs
KidusYohannesA Apr 19, 2023
170f8a2
Merge branch 'main' of https://github.com/natejparker/Dynamo-Boilerplate
KidusYohannesA Apr 19, 2023
e8eb02b
change 2
KidusYohannesA Apr 19, 2023
abc8ece
chef
KidusYohannesA Apr 19, 2023
0c4c04f
consumer search
IvanRudyakov Apr 19, 2023
b58ac77
last
KidusYohannesA Apr 19, 2023
b191457
merge conflicts
IvanRudyakov Apr 19, 2023
dd48b69
Merge branch 'main' of https://github.com/natejparker/Dynamo-Boilerplate
IvanRudyakov Apr 19, 2023
62a66df
modified orders routes and post functionality
natejparker Apr 19, 2023
056928c
Merge branch 'main' of https://github.com/natejparker/Dynamo-Boilerplate
natejparker Apr 19, 2023
03b6528
modified orders routes
natejparker Apr 19, 2023
87b9caf
create post page
IvanRudyakov Apr 19, 2023
e5f2873
Merge branch 'main' of https://github.com/natejparker/Dynamo-Boilerplate
IvanRudyakov Apr 19, 2023
100ddab
some changes
IvanRudyakov Apr 20, 2023
c1c3850
thunder client tests
IvanRudyakov Apr 20, 2023
e8284f0
test commit
IvanRudyakov Apr 20, 2023
ab1489d
deleted comment
Apr 20, 2023
18bb92c
deleted comment 2
Apr 20, 2023
9408415
deleted comment
AbdullaAlmansoori7 Apr 20, 2023
34f1e73
updated database
AbdullaAlmansoori7 Apr 20, 2023
63cff3c
minor chef tweaks
natejparker Apr 20, 2023
8d73b82
Merge branch 'main' of https://github.com/natejparker/Dynamo-Boilerplate
natejparker Apr 20, 2023
d5254a9
Merge branch 'main' of https://github.com/natejparker/Dynamo-Boilerplate
AbdullaAlmansoori7 Apr 20, 2023
672b406
added thunder tests
natejparker Apr 20, 2023
561893b
resolved thunder client merge issues
natejparker Apr 20, 2023
ca2b06a
Readme
KidusYohannesA Apr 20, 2023
75df031
Merge branch 'main' of https://github.com/natejparker/Dynamo-Boilerplate
KidusYohannesA Apr 20, 2023
bfa137b
readme update
KidusYohannesA Apr 20, 2023
1e96ba7
renamed endpoints
IvanRudyakov Apr 21, 2023
92ccb80
Updated readme
IvanRudyakov Apr 21, 2023
e308da0
updated readme
IvanRudyakov Apr 21, 2023
33090de
Update README.md
IvanRudyakov Apr 21, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
# MySQL + Flask Boilerplate Project
# Phase 3: MySQL + Dynamo Meals Boilerplate Project
Overview:
Our project is a food delivery and social media application, currently we support two types of users to interact with each other, consumers and chefs. The application includes a GitHub repository, which supports creating a post from the chef's end, searching for a post, as well as looking at placed orders. Our databse has 13 tables. We can only modify two tables, posts and orders and they are done by executing post.py and orders.py in our local appsmith.


This repo contains a boilerplate setup for spinning up 3 Docker containers:
1. A MySQL 8 container for obvious reasons
1. A Python Flask container to implement a REST API
1. A Local AppSmith Server

## How to setup and start the containers
**Important** - you need Docker Desktop installed

1. Clone this repository.
1. Create a file named `db_root_password.txt` in the `secrets/` folder and put inside of it the root password for MySQL.
1. Create a file named `db_password.txt` in the `secrets/` folder and put inside of it the password you want to use for the a non-root user named webapp.
1. In a terminal or command prompt, navigate to the folder with the `docker-compose.yml` file.
1. Build the images with `docker compose build`
1. Start the containers with `docker compose up`. To run in detached mode, run `docker compose up -d`.
1. Start the containers with `docker compose up`. To run in detached mode, run `docker compose up -d`.
1. Go to localhost:8080 in a web browser, follow all appsmith instructions to login.
1. Go to appsmith home screen, go to three dots on top right, import -> import from git repository, using [email protected]:natejparker/CS3200-Dynamo-Meals.git
1. Copy the provided ssh key and copy it to your github account under settings -> SSH and GPG Keys.
1. Go to CS3200-Dynamo-Meals application and hit preview to view application.




Expand Down
Loading