https://github.com/jhonbergmann/favorite-places
🛣 Favorite places app, an app to add cool places with their location, videos, comments, take pictures and more.
https://github.com/jhonbergmann/favorite-places
localization places react-native
Last synced: about 1 year ago
JSON representation
🛣 Favorite places app, an app to add cool places with their location, videos, comments, take pictures and more.
- Host: GitHub
- URL: https://github.com/jhonbergmann/favorite-places
- Owner: jhonbergmann
- License: mit
- Archived: true
- Created: 2021-06-20T16:38:19.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-04T19:30:42.000Z (almost 2 years ago)
- Last Synced: 2025-03-03T02:41:35.770Z (over 1 year ago)
- Topics: localization, places, react-native
- Language: JavaScript
- Homepage:
- Size: 46.1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Favorite Places
Lugares Incríveis
## 📅 Sobre
Favorite Places permite procurar e compartilhar lugares incríveis, inserir fotos, localização, ver vídeos, comentar e muito mais!
## 🌐 Tecnologias usadas
Foram usadas essas tecnologias:
- [React Native](https://reactnative.dev/)
- [Node](https://nodejs.org/en)
## ***>*** Como usar o código?
1. Instale o **Yarn** em seu computador
1. Instale o **NodeJs** na versão >= 12.0
1. Clone este repositório `git clone https://github.com/jhonbergmann/favorite-places.git`
### ⚙️ Backend
1. Acesse a pasta *backend* e dê o comando `yarn install`
2. Acesse o arquivo *images_view.ts* dentro de *src/views/images_view.ts*
3. Na linha *7* altere a url para seu ip local -> exemplo: url: `http://SEU-IP-LOCAL:3333/uploads/${image.path}`
4. Acesse novamente a pasta *backend* e dê o comando `yarn dev`
### 📱 Mobile
1. Acesse a pasta *mobile* e dê o comando `yarn install`
2. Acesse o arquivo *api.js* dentro de *src/services/api.js*
3. Na linha *4* altere a baseURL para seu ip local -> exemplo: baseURL: `http://SEU-IP-LOCAL:3333`
4. Acesse novamente a pasta *mobile* e dê o comando `npx react-native run-android`