Code Monkey home page Code Monkey logo

nfctron-calendar's Introduction


Calendar

A 7-day project

Table of Contents
  1. About The Project
  2. Features

About The Project

This is a 7-day pre-employment assessment test project from NFCtron

live demo: link

Specifications

  • the application is developed in React 18

  • auxiliary libraries of your own choice

  • the application is written and typed in TypeScript (^4.9.0) (Couldn't find that version, so i used v^4.9.5)

  • the application is at least visually optimized for desktop resolutions (> 1280px)

  • the project has its own git repository

  • the application is single-page

  • the page contains a calendar view

  • the calendar view is shiftable (forwards, backwards)

  • the week starts with Monday and ends with Sunday

  • the current day (if displayed) is indicated (color tinting, at your discretion)

  • each day can contain 0 - n events

  • events can be added and removed (in any way, e.g. via a button, by clicking on a day, at your own discretion)

  • events do not need to be editable

  • the event object contains the following properties:

    • title - string, required
    • from (time) - date, required
    • to (time) - date, required
    • color - string, optional

Bonus

  • events can be edited
  • the form for adding (editing) the event is properly validated
  • events can be multi-day (the display stretches over several days)
  • "Today" button, which scrolls the calendar display to the current day
  • the application is fully tuned for mobile resolution
  • the application is deployed and available online

Built With

  • Typescript
  • React
  • Material UI

Features

  • fine tuned for desktops, but still usable on smaller devices
  • events are also stored in localStorage

Header

  • "Today" button, which scrolls to current day
  • year/month selector with two arrows which shift the month forwards/backwards (monthly view)
  • day selector (weekly view)
  • view selector that allows you to switch from/to weekly/monthly view

Legend

  • displays current selected date
  • event editor which allows you to add/edit events
  • event list that shows you 0 - n events for the selected day (becomes scrollable on overflow)
  • event list also allows you to start editing events by clicking them (they get transferred to the event editor), or to delete events by clicking on the trash can icon

Grid

  • weekly and monthy calendar view
  • highlighted current day (if shown) with a bar on top of the cell
  • highlighted selected day
  • show's up to n events for each day (depends on the height of the device)
  • if event spans for multiple days, then each day cell shows the event
  • select a day by clicking on the grid (more information about the day shows on the legend)

(back to top)

nfctron-calendar's People

Contributors

neumie avatar

Watchers

 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.