Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.79 KB

README.md

File metadata and controls

27 lines (20 loc) · 1.79 KB

Dev Radar

This Project is meant to help people find developers based on location and technologies mastered. It was developed during Rocketseat's 10th OmniStack Week using NodeJS, React Native and ReactJS.

 

This project consists of three folders: backend, web, and mobile.

  • The backend is a NodeJS server integrated to a MongoDB instance;
  • The web part is written in ReactJS and is where you register the devs, entering information like name, location, technologies mastered and github user page;
  • The mobile part is in React Native and shows the devs in your area as pins on a map.

Requirements

  • NodeJS version 12.22.12;
  • MongoDB instance version 4.2.25; (install with all the default settings)
  • If using an android emulator, use Android 8.1 (API 27);

Running the project

  1. If you're using a local MongoDB instance without credentials, skip to step 3;
  2. If you're using a remote MongoDB instance or if you need to enter credentials, go to /backend/src/index.js, change the 'connectionString' constant to the credential provided by MongoDB.
  3. Go to /mobile/services/api.js and change the 'baseUrl' constant to the IP address of the machine running the backend service;
  4. Go to /backend, run npm i to install the dependencies and then run the server with the command npm run dev;
  5. Go to /web, run npm i to install the dependencies and then run npm start;
  6. Go to /mobile and run npm i to install the dependencies. Make sure you have an android device connected or an android emulator running and run npm run android.