Giter Site home page Giter Site logo

sgits-project's Introduction

SGITS Project

Steps for getting API up and running:

Step 1:

Step 2:

  • Create appsettings.Development.json file under SGITS.API project
  • Add the following content to file:

--------------------------------------------------------------- File Content (Start) ---------------------------------------------------------------

{ "ConnectionStrings": { "DefaultConnectionString": "Server=;Database=SGITS_DB;Trusted_Connection=True;TrustServerCertificate=True;" } }

---------------------------------------------------------------- File Content (End) ----------------------------------------------------------------

Step 3:

  • Rebuild Solution

Step 4:

  • CLI:
    • cd to the SGITS.Persistence project directory and use the following command: dotnet ef database update --project ../SGITS.Persistence/SGITS.Persistence.csproj
  • PMC (Package Manager Console)
    • Select the SGITS.Persistence project as 'Default project' in the PMC
    • Use the following command: update-database
  • This will create the database with the latest migrations on the server specified in the "DefaultConnectionString"
  • It will also create the required stored procedure for the 'Household Report'
    • A separate API Endpoint has been created to call the stored procedure and return the data in Swagger

Step 5:

  • Run application (F5)
  • Swagger documentation is included on Swagger UI

sgits-project's People

Contributors

aj-1003 avatar

Watchers

 avatar

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.