Titan Talks is a social media platform designed and created specifically for Titans. A place where you can connect and interact with Titans all across campus. From sharing images to simply chatting and even talking to others, there's a place for every Titan here.
- Download and install NodeJS https://nodejs.org/
- Install Expo CLI
npm install -g expo-cli
- From
server
directory, runnpm install
. - From
mobileapp
directory, runnpm install
.
The project requires 2 configuration files:
.env
file inmobileapp
directory.default.json
file inserver/config
directory.
- Download this config file default.json and save it to
server/config/
directory. - Open
default.json
file with a text editor to change these values:
Descriptions | |
---|---|
YOUR_SERVER_IP | Your LAN IP. Example: 192.168.1.50 |
YOUR_EXPO_URL |
Example: exp://127.0.0.1:19000
Learn how to find Expo URL |
YOUR_GITHUB_OAUTH_API_KEY |
If you don't have one, get it here GitHub Developer Settings
Learn how to create GitHub OAuth App Learn how to find GitHub API Key & Secret |
YOUR_GITHUB_OAUTH_API_SECRET |
- From
server
directory, runnpm start
to start the server
- From
mobileapp
directory, create a file named.env
- Open
.env
and insert this lineAPI_URL=THE_URL_TO_YOUR_SEVER:PORT
. Example .env file - From
mobileapp
directory, runnpm start
to start the app.
.env
file to take effect, you can run expo start --clear
to clean up the CACHE.