Giter Site home page Giter Site logo

calendar-app's Introduction

Overview

Calendar app is a web application that allows users to add reminders for a specific date, choosing the time and city. It also provides weather information for each reminder based on the time and city.

Features

Mandatory Features

  • Add new reminder (max 30 chars), including day, time and city.
  • Display reminders on the calendar view in the correct time order.
  • Allow the user to select color when creating a reminder and display it appropriately.
  • Ability to edit reminders โ€“ including changing text, city, day, time and color.
  • Display reminder details with the weather forecast for the selected date/time and city
  • Testing of the funcionality "Add new reminder"

Bonus Features

  • Properly handle overflow when multiple reminders appear on the same date.
  • Functionality to delete one reminder

Project Structure

Calendar app is built with Angular using the following structure. Open folders are represented by \ and close by *.

app\
    core\
        components *
        constans *
        models *
        services *
        utils *
        core.module.ts
    features \
        calendar \
            calendar-item *
            reminder-details *
            reminder-form *
        calendar.components.ts|html|scss
        calendar.module.ts
    shared \
        pipes *
    shared.module.ts
    store \
        index.ts
        rehydration.ts
        reminders.store.ts
app.component.ts|scss|html
app.module.ts

Setting Up Project

Environment Variables

In order to run this project correctly, you need to create a folder called 'environments' under src and add a file environment.ts with the following content. If the apiKey is not working, please create an account at openweather then look under the API KEY tab

export const environment = {
  apiKey: '9d2b1b4ee1b38180cca6b48d6163fc3e',
  production: false,
  apiUrl: 'https://api.openweathermap.org/data/2.5',
};

Installing Dependencies

npm install

Running Project

npm start

Running unit tests

npm run test

calendar-app's People

Contributors

eliezervv01 avatar

Stargazers

 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.