Giter VIP home page Giter VIP logo

yutrack's Introduction

yutrack

Repositorio de examen técnico yutrack

Each folder contains the corresponding code to his own name.

To avoid loading times when pulling/pushing the repo, all the folders are shipped without ./node_modules folder

Requirements

  • NodeJs v8.6.0
  • Yarn v1.1.0
  • MongoDB

backend

./backend$ yarn install
./backend$ yarn debug

Launches the BackEnd on port 3001. Make sure you have mongoDb up and running, otherwise the backend will crash. You can find configuration for connection under the App class in ./app/main.ts:

this.mongoose = mongoose.connect('mongodb://localhost:27017/test', {
 useMongoClient: true 
});

Just edit the mongodb string and you should be good to go :)

web

./web$ yarn install
./web$ yarn start

This starts a development server for serving a React web app. It uses a 'proxy' option defined into package.json to route all the requests to http://localhost:3001, which turns out to be the backend.

movil

./movil$ yarn install
./movil$ yarn run android

This will run an expo packager server. You can test the app by downloading the expo app and scanning the QR code that appears in the terminal. You can modify the endpoint url by editing ./src/mainPage.js

const api_url = "http://192.168.0.23:3001"; // Your LAN development machine
//const api_url = "http://10.0.2.2:3001"; // dev machine loopback iface when using android emulator

yutrack's People

Contributors

codeinearts avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.