Skip to content

A full-stack mobile application that lets users & realtors to find and create apartments. Developed with React Native, Express.js, MongoDB, Typescript

Notifications You must be signed in to change notification settings

yusufkinatas/home-rental

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rental Home

A full-stack mobile application that lets users & realtors to find and create apartments. Developed with React Native, Express.js, MongoDB, Typescript.

Running the server

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

Running the app

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

Adding seed data to database

$ cd server
$ yarn seed

Seed data includes following:

Running e2e tests (macOS only)

  1. Set up Detox globally
$ xcode-select --install
$ brew tap wix/brew
$ brew install applesimutils
$ npm install -g detox-cli
  1. Run tests using Detox
$ cd client
$ detox test

Expected output if database is seeded with seed data

About

A full-stack mobile application that lets users & realtors to find and create apartments. Developed with React Native, Express.js, MongoDB, Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published