Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Overview

This is the application server for AuditLog. It serves up the user interfaces and the versioned event and list APIs.

Dependencies

These are the local tools so far:

  • Visual Studio 2017
  • ASP.Net Core 2
  • .Net Core 2
  • SQL Server

Getting Started

  • Setup your database, make sure you set snapshot isolation and name it "AuditLogDev"
  • Run UpdateLocalDB.cmd from Database folder
  • Do a build, ensure automatic gulp build runs successfully (look at Task Runner Explorer)

Running

  • F5 to build
  • gulp build should run once before build, gulp local should run in the background the whole time

Errors Applying DB Script

  • /database/DatabaseUpdate.sql is the raw SQL (and safe to re-run in SSMS againt local DB)
  • Fix problem in /database/Changes/... and re-run UpdateLocalDB.cmd
  • Profit

Add sample data

To add some sample data to the system:

  • cd samples
  • node runSample host port authpair numDaysToAdd

The authpair value is a colon seperated Consumer Id and Secret from the /configure/apikeys screen.

The numDaysToAdd is a number of day to add to event times (negative numbers work best).

Misc

Customer vs Client

  • Customers are people that pay money to use AuditLog
  • Clients are their customers/users

Events vs Entries

  • Events are things that customers record
  • Entries are things we have recorded

About

SaaS MVP I built on the side, not an active product.

Resources

License

Releases

No releases published

Packages

No packages published