Skip to content

dennism501/calender-app-with-mobx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calender Application using React(Typescript) ✈️

Features

  • Displays calender of the current month
  • Set reminders on the calender
  • Edit Reminders
  • Delete Reminders
  • Select color of the reminder marker
  • View next and previous month calenders

Tech stack

  • React As the framework
  • Typescript
    • I decided to use Typescript in to enforce type safety in the code base when implementing the global state management store.
  • MobX
    • I used mobx for the reason that it has has two way data binding and it didn't have a huge learning curve.
  • Styled-Components
    • I use style-components to create my isolated components
  • Material UI
    • For some buttons and Modal for the calender

Local setup

  • Install latest version of Node here
  • Clone repository git clone [email protected]:dennism501/calender-app-with-mobx.git
  • Install dependencies: Run yarn or npm install
  • Start local dev server: Run yarn run dev or npm run dev
  • Start application: Run yarn or npm start
  • Visit site: Open https://localhost:3000

Testing

Run using yarn run test or npm run test.

Tests are written using Jest and React Testing Library.

Data Structure

  • Main Data structures used to build with a one-to-many relation between the Calender and Reminder. One calender date can have many reminders
interface Calendar {
  day: number;
  reminder?: Reminder;
}

interface Reminder {
  text?: string;
  date?: string;
  color?: string;
}


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published