Giter Site home page Giter Site logo

cointracker's People

Contributors

cyihan avatar idan22moral avatar jonhenshaw avatar

Stargazers

 avatar  avatar

Watchers

 avatar

cointracker's Issues

Create mechanism for storing login data

Currently the login functionality is a bit useless. Explore possible options for storing login data either locally on the user's device, or on a database server.

Migrate from NPM to Yarn

NPM was used by default when setting up with expo-cli, but I believe it will be best to migrate to Yarn

Add thumbnail images to News page

The News page would look a bit better with thumbnail images next to the article titles. These images may or may not be given by the Crypto Panic API. If not, consider checking out the Coin Gecko API.

Remove hardcoded API address for loginUser()

Currently, the API address being fetched in LoginScreen.loginUser() has my local IP address hardcoded. The same IP is used in server/server.ts as well.

async function loginUser(credentials: LoginCredentials) {
  var token = fetch('http://10.0.0.115:8080/login', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    body: JSON.stringify(credentials)
  }).then(data => data.json())

  return await token;
}

Instead, server.ts should log the actual IP address it is being ran on, and loginUser() should fetch the correct address, not one that is hardcoded.

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.