Giter Site home page Giter Site logo

esausilva / fullcalendar-aspnet-core Goto Github PK

View Code? Open in Web Editor NEW
33.0 8.0 28.0 2.19 MB

Implementation of FullCalendar in ASP.NET Core

C# 30.81% JavaScript 45.97% CSS 0.97% HTML 21.22% SCSS 1.03%
fullcalendar netcore aspnet-core event-calendar sql-server

fullcalendar-aspnet-core's Introduction

FullCalendar .NET Core with Visual Studio

Implementation of FullCalendar in ASP.NET Core

The project includes the implementation of FullCalendar in JavaScript ES6+ and comes wired with the necessary database access layer (including SQL statements) to interact with SQL Server.

Setting Up

Frontend

You will need to have Node and npm installed as I use Webpack to compile my Sass files and modern ES6+ JavaScript files to JavaScript browsers can understand.

Clone this repository then in Command Prompt navigate to the project's directory and install NPM packages

cd [project's path]\fullcalendar-core\fullcalendar-core
npm i

You will also need NPM Task Runner as I have set up to run Webpack in watch mode when the project opens. Webpack will also run before each build building the JavaScript for production. You can see the bindings if you open Task Runner within Visual Studio

Backend

In SQL Server create a database and name it fullcalendar, then create a table and name it Events with the following format

Column Name Data Type
event_id PK, int, identity(1,1), not null
title VarChar(300), not null
description VarChar(max), not null
event_start DateTime, not null
event_end DateTime, null
all_day Bit, not null

Once you have that, open appsettings.json and change the connection string to reflect your database connection.

Things to Know

The source Sass and JavaScript files are found under .\Styles and .\Scripts directories. Webpack will compile them every time upon save and place the output files under .\wwwroot\css and .\wwwroot\js, so DO NOT modify these output files.

For production, Webpack will minify and optimize the output files appending *.min.* to the file name. The CSS will also get auto-prefixed.

Implemented Features

  • Update existing events
  • Create single day events
  • Create all day events
  • Delete events

Upcoming Features

  • Drag & Drop events
  • Rezise events

In no particular order

Giving Back

If you would like to support my work and the time I put into making tutorials, consider getting me a coffee by clicking on the image below. I would really appreciate it!

Buy Me A Coffee

Preview

Imgur

Imgur

Imgur

-Esau

fullcalendar-aspnet-core's People

Contributors

esausilva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fullcalendar-aspnet-core's Issues

How would i change de locale?

I would like to change the locale, and maybe other configurations. Were should i do it?

I tryed to do it on Scripts/calendar.js:

 $('#calendar').fullCalendar({
    defaultView: 'month',
    height: 'parent',
    locale: 'pt',
    ...
 });

Then i run webpack, but it did not work.

How could i change to MySQL

I'm sorry, i'm a beginner developer and i'm using MySQL not Sql Server. It's hard to make this change? How could i do it?

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.