Skip to content

CaioQuirinoMedeiros/delivery_app

Repository files navigation

Pizza Delivery

About

This project is part of the final challenge of Rocketseat bootcamp course. It consists in a delivery application of a fantasy pizza parlor.

Integration

This app integrates with an API built with NodeJS and it's intended for customers. There's a web application designed to manage the application

⬇️ Installing

Cloning the repo

git clone https://github.com/CaioQuirinoMedeiros/delivery_app.git

cd delivery_app

Installing dependencies

yarn install

📡 Connecting with the server API

  1. Follow the instructions on delivery-api to have the server up and running
  2. Create a .env file and set a variable REACT_APP_API_URL with the value of your server url
  • It should looks like this: CREATE_APP_API_URL=http://127.0.0.1:3333
  1. Run adb reverse tcp:3333 tcp:3333 so the app can communicate with the backend

🏃 Running

Make sure you have react-native environment properly configured

  • Android
    react-native run-android
  • iOS
    react-native run-ios

run metro-bundler whenever needed

react-native start