Add readme

Remove development color swatches page
This commit is contained in:
Alexander Laevens
2022-12-01 01:34:31 -07:00
parent 7fa947b1d7
commit 31c4505e49
7 changed files with 75 additions and 33 deletions

View File

@@ -18,7 +18,7 @@ class _HomeScreenState extends State<HomeScreen> {
"Shopping List",
"Saved Recipes",
"Your Profile",
"Color Debug"
// "Color Debug"
];
@override
@@ -27,7 +27,7 @@ class _HomeScreenState extends State<HomeScreen> {
const ListPage(),
const RecipesPage(),
const ProfilePage(),
const ColorPage()
// const ColorPage()
];
super.initState();
}
@@ -58,11 +58,11 @@ class _HomeScreenState extends State<HomeScreen> {
label: "Profile",
backgroundColor: Theme.of(context).colorScheme.secondaryContainer,
),
BottomNavigationBarItem(
icon: const Icon(Icons.grid_3x3),
label: "Colors",
backgroundColor: Theme.of(context).colorScheme.secondaryContainer,
)
// BottomNavigationBarItem(
// icon: const Icon(Icons.grid_3x3),
// label: "Colors",
// backgroundColor: Theme.of(context).colorScheme.secondaryContainer,
// )
],
currentIndex: _selectedPage,
onTap: (value) {

View File

@@ -0,0 +1,16 @@
[Unit]
Description=daphne daemon
After=network.target
[Service]
User=django
Group=www-data
Environment="DJANGO_RELEASE=True"
WorkingDirectory=/opt/django/OneTrip/one_trip_api
ExecStart=/opt/django/OneTrip/one_trip_api/venv/bin/daphne \
--u /run/daphne/daphne.sock \
one_trip_api.asgi:application
[Install]
WantedBy=multi-user.target

View File

@@ -1,18 +0,0 @@
[Unit]
Description=gunicorn daemon
Requires=gunicorn.socket
After=network.target
[Service]
User=django
Group=www-data
Environment="DJANGO_RELEASE=True"
WorkingDirectory=/opt/django/OneTrip/one_trip_api
ExecStart=/opt/django/OneTrip/one_trip_api/venv/bin/gunicorn \
--access-logfile - \
--workers 3 \
--bind unix:/run/gunicorn.sock \
one_trip_api.wsgi:application
[Install]
WantedBy=multi-user.target

View File

@@ -1,8 +0,0 @@
[Unit]
Description=gunicorn socket
[Socket]
ListenStream=/run/gunicorn.sock
[Install]
WantedBy=sockets.target

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

52
readme.md Normal file
View File

@@ -0,0 +1,52 @@
# One Trip
## Technologies Used
### Backend
- Django
- Django Rest Framework (REST API)
- Django Channels (WebSocket interface)
- SQLite (Only because I am not deploying this to the Play Store)
- Redis (WebSocket cache)
### Deployment
- Daphne (ASGI Application server)
- Nginx
- Ubuntu
### Frontend
- Flutter
## Pictures
### Main Menu
![Login Screen](https://user-images.githubusercontent.com/44736322/204997033-fa10ceae-ae54-4816-b043-a1663532b5b3.png)
### Profile Page
![Profile Page](https://user-images.githubusercontent.com/44736322/204997046-d3b09233-266f-4082-8f05-4b97d5369a18.png)
### Search for Users
![Searching for users](https://user-images.githubusercontent.com/44736322/204997074-464c3b0c-96c2-4ac0-8e28-ebc1319c0065.png)
### Create, Edit, and Delete Recipes
![Create Edit Delete Recipes](https://user-images.githubusercontent.com/44736322/204997088-cb4a34e4-9c09-408f-b15d-4b30a8409f5c.png)
Recipes and individual ingredients can be deleted by swiping them off of the screen
### Search for Recipes to add to Shopping List
![Search Recipes](https://user-images.githubusercontent.com/44736322/204997188-7e03d067-a26e-4629-be3f-ef9039eee54b.png)
### Delete Items from List
![swipe](https://user-images.githubusercontent.com/44736322/205004229-c59ef486-edb6-4595-aa0c-846f008ab1a1.gif)
### Shopping List Page
![Shopping List Page](https://user-images.githubusercontent.com/44736322/204997203-5341a35e-9269-43eb-a212-6404c8119482.png)
### Backend Data Models
![backend-structure](https://user-images.githubusercontent.com/44736322/205004669-9f9387e0-1f76-42ac-8d49-d94cd17518aa.png)