Git Product home page Git Product logo

accrualcalculator's Introduction

Accrual Calculator

Monitor your paid time off accruals and usage over time

View me live at https://accrual-calculator-prod.herokuapp.com!

Tech Stack

  • macOS + Jetbrains Rider
  • C# / .NET Core / ASP.NET Core 2.1
  • MongoDB
  • GraphQL + GraphQL Playground
  • Auth0 (GitHub/Google/local account) for authentication

Usage

Creating HTTPS Certificate

  1. Instructions for reference: https://github.com/dotnet/dotnet-docker/blob/master/samples/aspnetapp/aspnetcore-docker-https-development.md#macos.
  2. Open a command prompt to /src/presentation/AccrualCalculator.Web.
  3. Generate cert and configure local machine:
    dotnet dev-certs https -ep ${HOME}/.aspnet/https/AccrualCalculator.Web.pfx -p crypticpassword dotnet dev-certs https --trust

Manually

  1. Clone the app.
  2. Build Solution via Visual Studio 2017.
  3. Play.
  4. Hosted Services
    • Auth0
    • MongoDB Atlas
  5. API Keys:
    • SendGrid
    • Recaptcha
    • GitHub
    • Google

Docker

  1. Make a copy of the file example.env to PRIVATE and fill in the missing values with your API keys.
  2. Open a command prompt to /src/presentation/AccrualCalculator.Web.
  3. Run the command docker-compose up --build to build the image and start the containers.
  4. Open your browser to https://localhost:50443.

Current Limitations

  • GraphQL route protection could use some improvement but for now it works.
  • Code documentation needs added.

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.