https://github.com/mawkler/pss-instachat
The effortless chat app - A project for the course Platform Spanning Systems
https://github.com/mawkler/pss-instachat
Last synced: about 1 year ago
JSON representation
The effortless chat app - A project for the course Platform Spanning Systems
- Host: GitHub
- URL: https://github.com/mawkler/pss-instachat
- Owner: mawkler
- Created: 2019-10-10T20:24:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-31T09:50:32.000Z (about 5 years ago)
- Last Synced: 2025-03-10T18:57:21.862Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.04 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# InstaChat
The effortless chat app.
## Usage
All commands should all be executed in this project's root directory.
To set everything up, run `make install`. Also, when running the client make
sure that the socket IP in [socket.js](client/socket.js) is set to the server's
IP adress (this currently has to be done manually).
### Client
To start the client, run `make run_client`. You will need an Expo app running
on a phone, with which you scan the QR code that shows up in order to run the
app on it'.
### Server
To start the server, run `make run_server`.
## Dependencies
- [node.js](https://nodejs.org/)
- [Expo](https://expo.io/)
## Development
To run all tests, run `make test`.
### File information
#### Client
- [App.js](./client/App.js) is the main chatroom body including `textInput`.
- [ChatItem.js](./client/ChatItem.js) is the text bubble.
- [MessagesList.js](./client/MessagesList.js) is an array for storing all the messages.
#### Server
- [server.js](./server/server.js) is the main server file.
- [DBManager](./server/DBManager.js) creates an interface from the server file to its SQLite3 database.