mkcoder / lifebook

web application to monitor and record the events of your life through: notes, calendar events, reminders, goal keeper, and other interesting features

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build status

Azure Build Status

lifebook

web application to monitor and record the events of your life through: notes, calendar events, reminders, goal keeper, and other interesting features


naming conventions followed throughout

namespaces

lifebook.{solutionname}.{projectname}.{fodler}

example:
lifebook
|_ core --- * no namespace at this level ever [0] *
  |_ logging * lifebook.core.logging [1] *
    |_ interface
    |_ services * lifebook.core.logging.services [2]*
    |_ ioc
      |_ activators * lifebook.core.ioc.activators [3] * 
[0] we enforce/discourage the use of root level namespaces and restricted to very limited use
[1] this is reserved for project wide classes 
[2|3] we prefix the namespace with folder 
lifebook.core.logging.interface

project creation and development

how to start a new project

  • all apps must have their own wiki page, project home, and tags, and labels creted before inital project kickoff

in the future apps maybe required to create their own pipeline a default solution may look something like this, please read more about different thing in the wiki page:

basic layout of app solutions
| solution
| _ service
   | _ core
   | _ models
   | _ domains
   | _ valueobjects
   | _ configurations
   | _ repository
   | _ ioc
| _ webapi
   | _ apis
   | _ services
   | _ db
| _ webapp
   | _ app    
       | _ src
           | _ libs
           | _ js
           | _ css
           | _ resources
           | _ index.html
   | _ node_modules 
   | _ buildscripts
| _ businessprocess -- folder
   | _ ..businessprocess 
      | _ service
      | _ ioc
      | _ aggregate
         | _ events
         | _ commands
      | _ controllers
      | _ models
      | _ domains
      | _ process.cs
      | _ start.cs    
| _ projectors
   | _ projections
   | _ projectors
   | _ api-controllers
   | _ start.cs

lifebook core framework support and packages

  • lifebook.core.services
    • Configuration - adds configuration to the project, if it is a webapi project you could add a appsettings.json and we will pick it up
    • NetworkLocater
      • look up service on consul
      • de/register service with consul
        • get config file from consul
    • Hosting - Add webapi support to project
      • Creates a webserver
      • Register's service to consul
      • Setup container
      • Setup configuration

About

web application to monitor and record the events of your life through: notes, calendar events, reminders, goal keeper, and other interesting features


Languages

Language:C# 79.4%Language:HTML 14.5%Language:JavaScript 4.5%Language:CSS 1.4%Language:Dockerfile 0.2%Language:Shell 0.0%