Giter Site home page Giter Site logo

juliawang105 / invitely Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 2.0 72.27 MB

Invitely is an online event planning and organizational app that allows for easy management for hosts and for guests.

Home Page: http://invitely.herokuapp.com/#/

JavaScript 76.81% HTML 1.82% CSS 17.34% SCSS 4.03%

invitely's Introduction

Invitely

Live Site

splash

Background and Overview

Invitely is an online event planning and organizational app that allows for easy management for hosts and for guests. This user-friendly app takes the stress out of planning and leaves only the joy and excitement for gathering.

Technology

Invitely is implemented using MERN stack (MongoDB, Express.js, React.js & Redux, and Node.js) to track users, events, posts, reservations, and to-do lists. Utilizing Google Maps API and Google Calendar, users can access exact location and directions to and from the event. Additionally, SendGrid allows hosts to automate emails according to the guest list for a streamlined planning process.

Features

Automatic Invitations

invite

RSVP Real-Time Updates

To make tracking of attendees easier, Invitely allows real-time RSVP updates. rsvp

User Event Filtering

We wanted to make the user's page is easy to read, and one of the features we built filters events by date and automatically removes events that have already passed. In order to achieve this, the events reducer was updated to allow for this happen.

const EventsReducer = (
    state = { all: {}, user: [], new: undefined }, action ) => {
	    Object.freeze(state);
	    let newState = Object.assign({}, state);
	    switch (action.type) {
	      case RECEIVE_EVENTS:
	        newState.all = action.events.data;
	        return newState;
	      case RECEIVE_USER_EVENTS:
	        let filteredEvents = action.events.data.filter(event =>
	          new Date(event.end_time) >= new Date()
	        );
	        newState.all = filteredEvents;
	        return newState;
	      case RECEIVE_EVENT:
	        newState.new = action.event.data;
	        newState.user.push(action.event.data);
	        return newState;
	      case REMOVE_EVENT: 
	        delete newState.new;
	        return newState;
	      case RECEIVE_USER_LOGOUT:
	        newState = { all: {}, user: [], new: undefined };
	        return newState;
	      case RECEIVE_USER_RESERVATIONS:
	        newState.user = [];
	        return newState;
	      default:
	        return state;
    }
};

To-Do List

The to-do list feature allows hosts to see what still needs to be completed for the event and check off completed tasks. todo

Discussion

Invitely allows for live discussions between guests for easy coordinating. posts

router.post(
  "/event/:event_id",
  passport.authenticate("jwt", { session: false }),
  (req, res) => {
    const { errors, isValid } = validatePostInput(req.body);

    if (!isValid) {
      return res.status(400).json(errors);
    }

    const newPost = new Post({
      user: req.user.id,
      body: req.body.body,
      event: req.params.event_id,
      authorFirst: req.body.authorFirst,
      authorLast: req.body.authorLast,
    });

    newPost.save().then(post => res.json(post));
  }
);

invitely's People

Contributors

danna-aa avatar isomdurm avatar fion-p avatar juliawang105 avatar

Stargazers

 avatar FFU avatar Yuci Shen avatar Justin Shieh avatar Chris Trinh avatar  avatar  avatar  avatar

Watchers

James Cloos avatar

Forkers

fion-p jmohan82

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.