lcelso / aircnc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AirCnC | Code & Coffee

This is a study project only and has no involvement with the Airbnb brand. 📚


Dev dependecies / APP dependencies

  • Node.JS >= 10.16.3
  • Yarn >= 1.19.0
  • Expo >= 3.2.3
  • NPM >= 6.9.0

APP


Getting started - Backend

  cd backend
  yarn 
  yarn dev

⚠️ IMPORTANT ⚠️

To make your own changes, please create your cluster in MongoDB Atlas

After create and init the cluster, change the database config in backend/src/server.js file

mongoose.connect(
  `mongoose.connect('your-mongodb-connect-here`,
  { useNewUrlParser: true, useUnifiedTopology: true }
);

The aircnc-insomina.json file you can import to your insomina after installed, it will already load all configured apis.

The backend will start on 3333 port


💻 Getting started the frontend

  cd frontend
  npm install
  npm start

The frontend will start on 3000 port


📱 Getting started the mobile

  cd mobile
  yarn
  yarn start

The backend will start on 19002 port and the Expo client on exp://YourLocalIP:19000 or Tunnel.

📰 Learn about how expo works here.


Connect me in LinkedIn | See my Behance

About


Languages

Language:JavaScript 89.8%Language:CSS 9.1%Language:HTML 1.1%