GithubHelp home page GithubHelp logo

damakvarshney / trackoholic Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 8.46 MB

For Portfolio || Map your track by Recording Coordinate of Location.

JavaScript 100.00%
mongodb ngrok backend expo splashscreen express nodejs react-native maps react

trackoholic's Introduction

Trackoholic

A tracking app with the following features:

  • Authentication with Signin / Signup screens
  • Allows user to track their position and plots the route on map
  • Allows users to save a track to their account
  • Lists all saved tracks
  • See more details on a saved track
  • Account Screen / Signout

The backend is using mongoDB to help provide a set of CRUD services which the APP uses.

Installation

Within both the /app & /server directory install the npm packages with:

npm install

Running the application

The App

Within /app

Run the following command to start the application. This will use expo.io to build the application ready to be tested on iOS or Android. You can use the Expo app on either the iOS or Google Play store. Alternatively you can run the application using the simulator.

npm start

The Backend

The backend is being powered with mongoDB. You will need to create an account at cloud.mongodb.com. Then create a new cluster and follow the instructions along with 'Connect the Cluster' to 'your application'.

Once you have the connection string. E.g mongodb+srv://**<user_name>**:**<password>**@cluster0.qr24r.mongodb.net/**<dbname>**?retryWrites=true&w=majority

Within /server/src/index.js, Add your connection string to line 16.

Then run the following command to start the server which connects to mongoDB: npm run db

ngrok

If your testing on a real device and having issue connecting to the local json-server, then you may want to run ngrok. This will give you a real URL that points to the local version of json-server running on post 3000.

To start ngrok

Run:

npm run tunnel

Then within /app/src/api/tracker.js. Update http://localhost:3000 with the "Forwarding" address that ngrok provided.

ScreenShots

These all are the screenshots related to Trackoholic, ranging from SplashScreen to Account Screen. All Screens are designed in @AdobeXD.

Alt text

trackoholic's People

Contributors

damakvarshney avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 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.