Skip to content

dedale/SAFE-Timesheets

Repository files navigation

Timesheets

Sample Timesheets application built with .NET Core, F#, Fable, Feliz, Bulma, Font Awesome.

SAFE-Timesheets

SAFE Template

This template can be used to generate a full-stack web application using the SAFE Stack. It was created using the dotnet SAFE Template. If you want to learn more about the template why not start with the quick start guide?

Install pre-requisites

You'll need to install the following pre-requisites in order to build SAFE applications

Starting the application

Start the server:

cd src\Server\
dotnet run

Start the client:

npm install
npm run start

Open a browser to http://localhost:8080 to view the site.

SAFE Stack Documentation

If you want to know more about the full Azure Stack and all of its components (including Azure) visit the official SAFE documentation.

You will find more documentation about the used F# components at the following places:

Learning resources

Learning resources I used to build this application:

Use cases

  • Data model: data model

Also includes:

  • French public holidays

Features

Design

  • Domain constrained types (SafeDate, Week, etc.)
  • Constrained types also used in DTO with type handlers.

Troubleshooting

  • Need to round date intervals because Javascript date intervals are impacted by daylight saving time.

ToDo

Domain

  • Ensure a user always belong to a team.
  • Ensure consistent Activity work days for months (no activity should overlap between two months).

Technical

  • Add UI tests with canopy.
  • Use Fable.Mocha unit tests for Javascript.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published