Skip to content

julian-cardone/In-a-Nutshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

In-a-Nutshell

Background

Nutshell is a squirrel-themed interview planner. It allows you to schedule interviews on your personal calendar, assign yourself tasks for each of the interviews on the calendar and leave yourself personalized notes on each interview. A user is able to view all of their interviews on an index and from there, they can check out each interview's list of tasks on the dashboard. The application provides a user with a fun way to schedule and organize their job search process.

Technologies

Nutshell uses the MERN stack.

  • MongoDB is a NoSQL database management system that employs documents with optional structures that are similar to JSON.
  • Express is a backend tool for crafting RESTful APIs using Node.js.
  • React is an open-source frontend library.
  • Node.js is an open-source JavaScript runtime environment that is used to build backend applications.

Create, Read, Update & Delete Interviews

Screen-2023-01-13-174933.1.mp4

Assign Tasks

Screen-2023-01-13-175343.1.mp4

Once you have created events and assigned your tasks to each event, you can view all of the events in an index page, as seen below:

Screen-2023-01-13-175547.1.mp4

Code Snippets

  //sorting the events by chronoligical order
  const sortEvents = (events) => {
    if (eventsLoaded){
    //base case
    if (events.length <= 1) return events

    let mid = Math.floor(events.length / 2);

    //recursive calls
    let left = sortEvents(events.slice(0,mid));
    let right = sortEvents(events.slice(mid));

    return sortHelper(left, right);
    }
  }

  const sortHelper = (left, right) => {
    let sortedArr = [];

    if (isBefore(
      new Date(left[0].eventDate),
      new Date(right[0].eventDate)
    )){
      sortedArr.push(left.shift())
    } else {
      sortedArr.push(right.shift())
    }

    return [ ...sortedArr, ...left, ...right]

  }
//end of sort

Our Team

  • Team Lead - Julian Cardone
  • Frontend - Ross Mabbett
  • Backend - Anthony Chiodi
  • Flex - Ethan Graham

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published