Coder Social home page Coder Social logo

ledger-server's Introduction

Ledger

Ledger is in early development stages, but the goal is to become a web based double-entry accounting system.

Running

To run Ledger locally, simply execute:

.\Start-LedgerServer.ps1

Developing

The quickest way to build and run/debug the application from within Visual Studio is to set docker-compose as the Startup Project and run that. This will launch a local SQL Server instance and either initialize it or perform any necessary database migrations. It will also launch the actual application which can be debugged as normal.

If you already have an existing database instance or simply don't want to use docker-compose for any other reason, simply update the connection strings in the Ledger.DatabaseInstaller and Ledger.WebApi projects via the appsettings.json. To either initialize the database or perform any database migrations, run the Ledger.DatabaseInstaller project first, then you can run the Ledger.WebApi project.

Testing

The Ledger.Tests project has end to end integration tests, so a running instance of SQL Server is required. To use an existing instance, update the connection strings in appsettings.json and run the Ledger.DatabaseInstaller project first to initialize the database or perform any migrations. If you do not already have a runing instance of SQL Server, run:

docker-compose up db

This will launch a new instance via docker. Again, run Ledger.DatabaseInstaller first if you have not done so already. At this point you can run all tests.

ledger-server's People

Contributors

millerhederi avatar

Stargazers

Rafael Dowling Goodman avatar  avatar Tevfik O. ÖRMECİOĞLU avatar YouzhangLiu avatar

Watchers

 avatar

Forkers

mmx5

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.