Skip to content

Latest commit

 

History

History
94 lines (67 loc) · 3.19 KB

README.md

File metadata and controls

94 lines (67 loc) · 3.19 KB

Full Stack Instagram

License: MIT GitHub top language

Full Stack Instagram clone with NodeJS, ReactJS and React Native.

Posts feed page Page to make a new post

Technologies

This project was developed at the RocketSeat OmniStack Week 7 with the following technologies:

Environment Setting

To use and test the mobile app on a simulator or smartphone, you must already have set up the React Native app development environment. You can follow the following article in Portuguese to set up your environment:

React Native Environment (Android/iOS)

Requirements

How To Use

From your command line:

# Clone this repository
$ git clone https://github.com/amycardoso/full-stack-instagram 

# Go into the repository
$ cd full-stack-instagram

# Go into backend
$ cd backend

# Install dependencies
$ yarn install

# Start the backend server
$ yarn dev

# On another terminal, go to the frontend folder
$ cd ../frontend

# Install dependencies
$ yarn install

# Start the backend server
$ yarn start

# On another terminal, go to the mobile folder
$ cd ../mobile/instarocket

# Install dependencies
$ yarn install

# If you want to run the project on a simulador, start the react-native server as it is
$ react-native start

# On another terminal, install the app on your simulator
# Use the command below for iOS devices
$ react-native run-ios

# Use the command below for Android devices
$ react-native run-android

# If you want to run the project on your smartphone, change the baseURL on src/services/api.js to your machine's ethernet adapter IP. Use the ethernet adapter IP if you're on a cable connection or the WiFi adapter IP if you're on a wireless connection.
# After changing the baseURL, start the react-native server
$ react-native start

# On another terminal, install the app on your smartphone
# Use the command below for iOS devices
$ react-native run-ios

# Use the command below for Android devices
$ react-native run-android