Nothing Special   »   [go: up one dir, main page]

Skip to content

Project divided in 3 parts, REST API, WEB and MOBILE. The goal is connect curious people with companies 🏢👬

Notifications You must be signed in to change notification settings

danielmesquitta/techtours

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is divided in 3 parts, REST API, WEB and MOBILE.

It is composed by a website where entrepreneurs can offer tours in their companies, a mobile app, where people can schedule a visit and the rest api, to deal with all the data and logic, sending all requests and responses in real time with no need to reload any screen.




REST API

Technologies

WEB

Technologies

MOBILE

Technologies

GETTING STARTED

Requirements

Clone the project and access the folder

$ git clone https://github.com/DanielMesquitta/techtours && cd techtours

Start backend

inside the techtours folder

# Go to the correct folder
$ cd backend

# Install the dependencies
$ yarn

# Start
$ yarn start

Start web

In another shell with the backend running, inside the techtours folder

# Go to the correct folder
$ cd frontend

# Install the dependencies
$ yarn

# Start
$ yarn start

Start mobile

Step 1: In another shell with the backend running, inside the techtours folder

# Go to the correct folder
$ cd mobile

# Install the dependencies
$ yarn

Step 2: Find your ip to configure your local host

# on Windows
$ ipconfig

# on Linux
$ ifconfig

it will probably be the first number that starts with 192.168

Step 3: Configure your local host inside the mobile folder, run:

$ code src/services/api.js

Fell free to use your favorite editor but this step will only work with VS Code.
Change the variable ip according to yours machine

const ip = '192.168...'

Step 5: Now, on your terminal, inside the mobile folder

# Run this if you will emulate on an android
$ yarn android

# Run this if you will emulate on an ios
$ yarn ios

Step 6: The last step is configure your emulator with your ip

You need to access the developer menu on your emulator, pressing "D" inside your node.js window.

It will open a window on your emulator, inside there press settings, then Debug server host & port for device and then,
type your ip with :8081 in the end.

For example, if my ip where 192.168.100.30, I would type 192.168.100.30:8081

Now you can reload the app and you be finished

About

Project divided in 3 parts, REST API, WEB and MOBILE. The goal is connect curious people with companies 🏢👬

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published