Code Monkey home page Code Monkey logo

flog's Introduction

f.log

Introduction

f.log is an online logbook that aims to provide pilots of airplanes, sailplanes, paragliders, hang gliders, wieightshift microlights, skydivers and any other kind of skybound vehicle with a simple logbook to store their flights online. The key advantages are secure data storage online, easy access anywhere there is internet and the ability to view data about a user's flying history in chart form.

This project was created during the week of the 19th of October 2020 for a General Assembly Software Engineering Immersive with the goal of learning the ins and outs of RubyOnRails and Heroku deployment. While there are things that could/should be updated it is not active at this time.

Technologies

  • Ruby 2.7
  • Rails 5
  • Bootstrap 4.5.2
  • PostgreSQL 13
  • Chartkick 3.4.2
  • Highcharts JS 8.2.2
  • Faker 2.14

Launch

This website is available via Heroku

If you would like to run it on localhost, get a PostgreSQL server running, then in the project file, run rails db:migrate and rails db:seed then rails server and you should be able to access it.

Key Features

Log in and out with bcrypt

  • Allows users their own set of logbooks and flights and to view statistics specific to them

CRUD system for Users, Flights and Logbooks

  • Create and destroy user sessions
  • Create users (user update and destroy not yet supported)
  • Create, read, update and destroy Logbooks
  • Create, read, update and destroy Flights

Charts with ChartKick and HighCharts

  • Display statistics for each user in easy to read charts.

Styling with Bootstrap

  • Navbar with dropdown menus
  • Sticky footer
  • Styled views, forms and statistics page with sidebar.

Generative seed data with Ruby and faker

  • For testing purposes, on rails db:seed a user is created with flights of each type
  • Flight details are randomly generated for between 100 and 400 flights with

Expansion

Features that were not completed in the project time limit but could be added to improve the project include:

Minor
  • User account editing and deletion
  • Styling of the 'jumbotron' element on the homepage
  • Automation of the 'serial' column in the skydiving logbook
  • Moving code from views to models as scopes
  • Formatting dates within logbooks using strft
Major
  • Allowing dynamic parameter setting and display for Charts
  • Allowing tables to dynamically adjust to flight details entered rather than relying on aviation_type setting

Acknowledgement

Thanks to course instructors Joel Turnbull and Camilla Champion de Crespigny

Twitter link

flog's People

Contributors

forcebe avatar

Watchers

 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.