Git Product home page Git Product logo

flightplan's Introduction

flight

This acts as the frontend for the Bat House senior design project.

At its core, it's an Ionic project that interfaces with hiber, a Django-powered server.

It's archived because of lack of time for maintaining the project.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your end-to-end tests

npm run test:e2e

Run your unit tests

npm run test:unit

Customize configuration

See Configuration Reference.

flightplan's People

Contributors

mcab avatar

Watchers

 avatar  avatar

Forkers

rc-li

flightplan's Issues

Create mock data

This allows us to simulate what the API should return, and how it should display on the front end.

This is important for tests and just general UI testing.

Add push notifications

This might require the help of hiber.

In order to remind users to check for bats monthly (observations) and environment/physical changes yearly, there needs to be a way to push the notification to the user.

Alternatively, we can extend this idea to a list of messages so that the user can also get notifications for when a surveyor is coming by.

Retrieve features of a house from hiber

Might need to change the representation from the API.

Need to display the x most recent environment / physical features. Probably by serializing on hiber's end the most x recent features from api/v1/houses.

If we click in to more detail, then we can list further features.

Add form to add new house

This should be all of the information listed under the House model in hiber. The specific questions to ask are underneath the Epicollect 5 document. Ideally, there is a JSON file that is loaded on page load that has all of the questions, selections, and the component to use for that form.

Have to consult the Ionic documents to style the form.

format the pages with CSS

Currently seeking a quick way to polish out UI a little to ready it for demo day. After this we can try to connect the flightplan and Hiber and call it a completed senior design project

Add form to add an observation

Similar to #8, there should be a button that takes you to a form to submit information about an observation. It should default to the current datetime for creation.

Add offline capabilities / caching

When there is no internet connection, the application should not allow you to send forms, but it should save what forms you have in the pipeline. When internet connectivity is restored, then the forms should be sent.

Create E2E tests

This is related to #12.

Any tests should be able to rely on this mocked data to see how the UI interacts when certain actions are triggered.

Cypress comes in handy here.

Lazy-load paths

We didn't really need to have the entire app load at the start. We would ideally want to lazy-load paths, but due to the way either:

  1. service-worker.js served files
  2. Webpack bundled those files

we weren't seeing them appear in the PWA.

My guess is that it's closer to 1; while serving in dev mode, Webpack was easily able to bundle and serve the files normally.

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.