Skip to content

Kyvyas/lab-week-virtual-assistant

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Week 6

###Lab Week.

View a live version of our app here: https://makersacademy-labweek.herokuapp.com/

We decided to go on with building a virtual assistant application that can record your tasks for you. The brainstorming session we had led us to think about more ideas. We realised quite early that we should try to incorporate many of the skills that we picked up since the first week.

We went on to scripting the user stories and we decided on the following:

####User Stories:

As a user
So that I can use the service
I would like to enter my details
As a user
So that i can keep track of my tasks
I would like to store my tasks online
As a user
So that I know what I am doing
I would like to be reminded of my tasks
As a user
So that I can organise my tasks
I would like to be able to add tags to them
As a user
So that i know when important dates occur
I would like to view them on a calendar
As a user
So that I don’t plan a journey on a stormy day
I would like to be able to check the weather.
As a user
So that I know where where places are
I would like to be able to search on a map.

####Screenshots See the screenshots below of how our application looked by the end of the week:

Home page/landing page landing Sign up page signup Sign in page signin User logged in, showing weather search functionality weather User logged in, showing map search functionality map User logged in, showing tasks added tasks


####Technologies Used:

  • Sinatra
  • Ruby logic for CRUD operations
  • Javascript logic for weather and maps
  • Datamapper as the ORM
  • PostgreSQL Database
  • HAML
  • Bootstrap mainly for the grid system and responsiveness
  • Factory girl
  • RSpec & Capybara for testing

####Main Takeaways/Challenges:

  • We found associations to be quite the handful, especially when we were trying to filter tasks by tags specific to the logged in user. We solved this by creating many-many relationships between:
    • users and tags
    • users and tasks
  • While developing the delete tasks feature, we had to leverage data-mapper's dm-constrainsts plugin, which allowed us to delete the parent record while simultaneously

####Team

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 54.4%
  • HTML 18.6%
  • CSS 17.1%
  • JavaScript 9.9%