Giter VIP home page Giter VIP logo

anee's Introduction

Build Status PRs Welcome SecurityHeaders.io

Anee is place for sharing tracks and photos. I develop Anee in my free time and for non-commercial using.

ScreenShot

Reference

Anee (https://github.com/anee/anee) - create test users

User getting started

Interface tries to be intuitive. Just register and try it yourself. If you dont know anything do not be shy to contact me.

Dev getting started

  git clone [email protected]:anee/anee.git
  cd anee
  sh init.sh
  # create manually database with name `anee`
  php ./www/index.php orm:schema-tool:create
  sh clean.sh

API

Reporting bugs

If something is wrong, use feedback form in application or if you think that it's bug you can report issue here or if you know how fix that you could send pull request.

anee's People

Contributors

ldrahnik avatar

Watchers

 avatar  avatar

anee's Issues

User roles

Tables

  • add Role (id, name)
  • edit User (add role_id)
    - add User_Role (role_id, user_id) // automagically # manyToOne, user can have only one role

Console tasks

  • add default roles insertion task (user, admin)
  • add user insertion task (username, surname, forename, email, password, role)

User

  • user should see own role in settings

Admin

  • admin should see all roles and could edit them (name), see how many users have the role

Add track

Place select boxes background color set up to white.

Places

More detailed statistics.

Is not possible add track

Refused to connect to 'http://anee.cz/ldrahnik/tracks' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.

Average speed

When entering the track, calculate live average speed and display (simple check that speed meter display the same value, etc. like mobile track application).

Modals validation

Add track modal

  • add validation of field Trip time - specific input - validation should display error
  • add validation of field Max speed - float - validation should display error
  • add validation of field Distance - float - validation should display error
  • add validation of field Name - if is given name incorrect (not found in database) should display error

Add place modal

  • add validation of field Name - place which already exists should display error

Validate schema

php www/index.php orm:validate-schema
[Mapping]  FAIL - The entity-class 'App\Model\Track' mapping is invalid:
* The mappings App\Model\Track#placeTo and App\Model\Place#tracks are inconsistent with each other.
* The association App\Model\Track#withUsers refers to the inverse side field App\Model\User#App\Model\Track which does not exist.

[Database] OK - The database schema is in sync with the mapping files.

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.