A full stack application that keeps all your contacts up to date. ContactsApp acts like a social network, where you mantain your current phone, email and company, and share them with your colleagues and friends.
This application was developed for educational purposes. The frontend is a React Native application, while the backend is a NodeJS Rest API. The user can send friendship requests, search for other users and update his own informations.
You'll need Expo and NodeJS installed.
-
Clone the repository
git clone https://github.com/gmtavora/contacts-app/
-
In
mobile
andbackend
, install the needed packagesnpm install
-
Create a .env file in the
backend
folder. Use the following lines:NODE_ENV=development HOST=http://yourip.com PORT=8000 EMAIL_HOST=host EMAIL_USERNAME=user EMAIL_PASSWORD=password [email protected]
-
Create a .env file in the
mobile
folder. Use the following lines:HOST=http://yourip.com PORT=8000
-
In
backend
, run the servernode index.js
-
In
mobile
, run the applicationexpo start
.
Optional: in the backend folder, you'd may like to use the mock database and mock uploads. If that's your case, rename mockDatabase.db
to database.db
. Unzip mockUploads.zip
and rename it to uploads
. In this case, the username and password of the test account is johnsmith
.
- Gabriel Távora