Giter VIP home page Giter VIP logo

positioning_service_client's Introduction

#Positioning service client

##Instructions

  1. Install the rails server (the latest release!) by following the instructions under "REST-API" in this repo: https://github.com/hg222dt/positioning_service

  2. When you completed the rails server install, retrieve a client api key from the registration application, by following the instruction number 3 at the last installed repos instructions.

  3. Retrieve your client specific api-key and add it to this file in this repo: /positioning_service_client/public/js/config.js. Add the key to the "key" value.

  4. Clone this repo to your local environment.

  5. Run npm install inside the project root folder.

  6. You can now run the app by from the project root folder entering the command node app.js.

  7. When you run the apps locally, remember to run the rails-server on port 3000 and the client-server on port 4000.

  8. There should now be a created user for you in the client app with username: "[email protected]", and password: "hejhej". There will also be two pre-created Doodles, one in Paris and one in Berlin.

##Functionality

  1. Show all registered Doodles. User can click on Doodle card and the specific marker position will appear on map.
  2. Search for doodles containing search term.
  3. Filter doodle result in terms of username ang tagg.
  4. Create an account.
  5. Log in to account.
  6. Create a Doodle. (For logged in users)
  7. Update own Doodle. (For logged in users)
  8. Delete own Doodle. (For logged in users)
  9. A profile overview of users own Doodles. (For logged in users) User can click on Doodle card and the specific marker position will appear on map.

##What has been changed on the API side since last release?

  1. The Rack-CORS gem is now used to allow cross site requests.
  2. Changed response to "respond_with" in getDoodleSByTag return.
  3. Added methid for getting doodles by username.
  4. Fixed method for getting Doodles by username.
  5. Now returning doodle_id on recently removed Doodle.
  6. Changed return messages when user register, if username och email is already registered.
  7. Changed return message when user login, if credentials is not correct.

positioning_service_client's People

Contributors

hg222dt avatar

Watchers

James Cloos avatar  avatar

positioning_service_client's Issues

Peer Review 3

Hejsan, här är min Peer Review på din Angular app! :)

Först när jag skulle starta applikationen stötte jag på lite problem.
Problemen tog ingen större tid att lösa, men det kan vara värt att lägga till i beskrivningen.
Det står ingenstans att du node.js skulle användas i readme.md-filen, kan vara bra att skriva det där kanske. Jag har en ny dator så Node var inte installerat.

Det andra problemet var att jag ar tvungen att lägga till ett gem i din Gemfile.
Detta kanske beror på att jag kör Windows 8 men gemmet jag behövde lägga till var:
tzinfo-data
Felet dök upp när jag körde "rails s".

Om applikationen:
Jag tycker applikationen ser bra ut. Lättnavigerad och simpel.
Jag stötte dock på några buggar när jag gick igenom den:
-Om man skriver något i "Filtrera på tagg"-boxen och sedan tömmer den, så syns endast doodles som har minst 1 tagg.

-Filtreringsboxen fungerar bra för sökning, men ett möjligt problem är att:
När jag vill visa Doodles med taggen "morot" så visar jag även doodles med taggar som "morotskaka", "morotens_dag" etc. .

-Skulle kanske vara trevligt om "sök här"-boxens sökknapp gick att trycka på med "Enter" :)

-Problem när man skapar den doodle. Hela processen av att göra en doodle känns väldigt bra, men
det kunde vara lite tydligare att man måste trycka på "plantera doodle!"-knappen efter att man har planterat den för att spara planteringen.

-Ett annat problem när man skapar Doodles är att den första går bra att plantera. Man får ett "alert()" meddelande och man får välja på kartan var den ska vara men andra gången så syns ej meddelandet utan texten "Grattis din doodeln skickades" syns och föregående vald plats väljs för doodeln. Vilket användaren troligtvis inte vill.

-När man redigerar så kan man bara välja att redigera namnet på doodlen. Det kanske hade vart användbart att kunna redigera plats och Taggar också.

-En liten varning när man tar bort Doodles hade vart trevligt.

Där var några punkter, hoppas du finner min feedback givande :) 👍

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.