Giter Site home page Giter Site logo

yuriy1302 / jc-calendar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fabiau/jc-calendar

0.0 0.0 0.0 978 KB

A simple calendar app.

Home Page: https://adoring-gates-ebbba7.netlify.app/

License: MIT License

JavaScript 97.74% HTML 2.03% CSS 0.22%

jc-calendar's Introduction

JC Calendar

Netlify Status

For the live app click here.

This is a simple calendar app where you can add reminders for a specific date/time and city.

Development

Installing Dependencies

You will need Node.js (v12+) to start and build this project.

Also will need to run the following command in order to install the project's dependencies before running other commands:

npm install

Running in Development Mode

To start the project simply run:

npm start

This will start a webpack development server that will serve the built web app. It also includes hot-reloading for live updates when you save a file.

If you want to use the forecast functionality you'll need to add the API key as follows:

REACT_APP_FORECAST_API_KEY=api_key_value npm start

If you are a Windows user, open a PowerShell window and run:

$env:REACT_APP_FORECAST_API_KEY="api_key_value"; npm start

You will need to replace api_key_value for the actual key.

You can find more about the API and get a key at https://www.weatherapi.com/.

Running Tests

npm test

This will start jest, which will run tests when tests changes or files that are being used for testing changes.

Creating a Production Build

If you are on a Unix based system, run:

NODE_ENV=production npm run build

If you are a Windows user, open a PowerShell window and run:

$env:NODE_ENV="production"; npm run build

You can also set NODE_ENV as an environment variable in any way you would with any other variable, or you can also just omit it.

Please note that if NODE_ENV is not set to production, some files will not be optimized.

You will still need to set REACT_APP_FORECAST_API_KEY as mentioned in Running in Development Mode, if you wish to use the forecast API functionality.

Technologies

React

Builds the view layer of the web app.

Redux

Store's the app's data and acts as it's single source of truth. Is also responsible for predictable state changes through actions.

Redux Saga

A Redux middleware that will handle async actions as well as complex actions, acting as a process manager.

https://redux-saga.js.org/

Tailwind.css

The CSS framework of the web app. It is a utility-first CSS framework.

https://tailwindcss.com/

Licence

This project is provided under the MIT License.

jc-calendar's People

Contributors

fabiau 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.