Giter Site home page Giter Site logo

johanson1988 / epic-planner Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 665 KB

Epic planner is a urban micro-planner that allows you to create a legendary route in Barcelona on a specific day and area. Its features include an array of leisure options located in the desired area: concerts, cultural events, cafes and bars. EPIC Planner generates a map with all the stops including starting times, duration and time needed to get to each place.

JavaScript 43.26% CSS 19.35% HTML 37.40%

epic-planner's Introduction

PROJECT 2

EPIC PLANNER

Description

Main elements

Epic planner is a urban micro-planner that allows you to create a legendary route in Barcelona on a specific day and area. Its features include an array of leisure options located in the desired area: concerts, cultural events, cafes and bars, with links to MeetUp event pages for more information.


EPIC Planner generates a map with all the stops including starting times, duration and time needed to get to each place.

User Stories

  • ERROR PAGES
    • 404 - page doesn’t exist
    • 500 - programming error
  • home page - no cookie
    • log in
    • sign up
    • log out redirects here.
  • home page - with cookie
    • main user page with saved day plan(s)
    • edit plan options (edit name field, delete event, add event button, create new plan button)
    • profile edit button
  • edit user profile change: avatar, location, interest keywords.
  • search page
    • FIELDS:
      • day name
      • date
      • location
      • leisure filter options: bar, concert, culture, cafe, club
      • results display
    • MORE INFO button (in results list)
  • event / place card displays details of event / place ( name, location, description, times, duration, fee)
  • Map page displays route of events and timings.

API Routes (Back-end):

Method Route Description Request - Body
GET / Main page route. Renders home day-plan view
GET /login Renders login form in signin view.
POST /login Sends login form data to the server. { email, password }
GET /signup Renders signup form signin view.
POST /signup Sends Sign Up info to the server and creates user in the DB. { email, password }
GET /private/day-main Private route. Render the day-plan view.
GET /private/edit-profile Private route. Renders edit-profile form view.
PUT /private/edit-profile Private route. Sends edit-profile info to server and updates user in DB. { email, password, userName], location, avatarUrl, [keyWords] }
POST /private/select-events/ Private route. Renders event-list. { date, location, activity type }
GET /:eventid Private route. Render event-card view for the particular event/place.
DELETE /private/:eventId Private route. Deletes event from day-plan.

Models

User model

{
  userID: String,
  name: String,
  email: String,
  password: String,
  location: [String],
  keywords: [Strings],
  dayPlan: [Obj]
}

Event model

{
  eventId: String,
  fullAddress: [String], 
  location: String,
  date: date,
  time: date,
  duration: String,
  price: String,
  category: String,
  coordinates: {floatX,floatY}main`
  meetupLink: URL
  
}

Place model

{
  placeId: String,
  fullAddress: [String], 
  location: String,
  category: String,
  openingSchedule: [String]
  coordinates: {floatX,floatY}
  webLink: URL
}

Backlog

See the Trello board.

Links

Git

Repository Link

Deploy Link

Slides

Slides Link

epic-planner's People

Contributors

johanson1988 avatar nurlopez avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  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.