A full-stack mobile application that lets users & realtors to find and create apartments. Developed with React Native, Express.js, MongoDB, Typescript.
In server/
folder rename example.env
to .env
. Only necessary change in env variables is passing a valid MongoDB connection string to MONGODB_URI
After env setup, run these commands:
$ cd server
$ yarn install
$ yarn start
In client/
folder rename example.env
to .env
. Only necessary change in env variables is passing a valid key to GOOGLE_PLACES_API_KEY
. And billing needs to be enabled on google cloud project. Otherwise, address search & reverse geolocation on the map will be disabled.
After env setup, run these commands:
$ cd client
$ yarn install
$ yarn start
$ cd server
$ yarn seed
Seed data includes following:
- 500 random apartments in Boston, MA
- 100 random users
- Predefined users (email - password)
[email protected]
-123123
[email protected]
-123123
[email protected]
-123123
- Set up
Detox
globally
$ xcode-select --install
$ brew tap wix/brew
$ brew install applesimutils
$ npm install -g detox-cli
- Run tests using
Detox
$ cd client
$ detox test