Make sure you have the right python dependancies downloaded:
- Flask
- pycryptodome
Here is a guide on how to use PIP to download packages: https://packaging.python.org/en/latest/tutorials/installing-packages/
- KDCServer.js Line 80
- components/ChatLog.tsx Line 19, Line 52, Line 62
- screens/HomeScreen.tsx Line 47,
Once you have the aforementioned dependancies downloaded run the following commands:
cd ./Hush/FlaskApp
python server.py
npm install
npx expo start
node KDCServer.js
- App.js - handles page navigation, and renders LoginScreen at beginning of program
- KDCServer.js - our KDC manager, handles generating keys, refreshing DB, and updating communicating agents
- contains different views for our app
- LoginScreen.tsx : displays login screen, and handles login attempts
- HomeScreen.tsx: will list chats after user is logged in, contains code to handle single chat and group chat creation
- ChatLogScreen.tsx: after opening a chat from HomeScreen, will load chat history and be able to send messages
- contains reusable components that are used to render chats,
- ChatLog.tsx: renders all messages and send message field
- ChatMessage.tsx: renders individual messages