Coder Social home page Coder Social logo

5k-logger's Introduction

Tracker

Intro

Hello and welcome to the Tracker app. This logs my 5K lap times. It uses React, Laravel 6.0, and CouchDB. What do you mean that is overkill.

A Priori

This uses:

This app uses Laravel's Homestead too, which involves installing a VM provider; that doc page lists which ones you can get.

Installation

I mean, why would you wanna work on this but sure:

If you really know what you're doing you can tweak the installation steps I'm about to describe.

After installing and configuring Homestead and VirtualBox (and additionally, going through "Accessing Homestead Globally" in this chapter), run these in the terminal:

$ git clone <this/repo.git> && cd <this/repo>
$ mv .Homestead.yaml.example .Homestead.yaml
$ mv .env.example .env
$ composer install
$ npm i
$ vagrant up
$ vagrant ssh

Working the Front

Open up resources/assets/js/app.js and resources/assets/js/components/Main.js to learn how a React component gets tied into the overall shebang. Laravel+React uses Laravel Mix to work, so read that link. In particular, this tiny section in the page.

Once you have that sorted out, go do your React-ing. Then run either npm run dev or npm run watch to compile.

React won't update unless you run npm run dev. So don't keep refreshing your browser wondering why your new component isn't rendering. Don't be me.

TL;DR npm run dev / npm run watch every time before refreshing your browser

TODO

  • Restructure laptimes listing in TimeList
  • Make update time docs work
  • Literally everything else
  • Finish this README (you know this won't happen)
  • Eat dinner

5k-logger's People

Contributors

zysim 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.