Git Product home page Git Product logo

bookreading-api's Introduction

BookReading

A sample Azure Functions Visual Studio Solution. Allows to store a prioritized list of Books. Can be used as a reading list.

Included Projects

  • BookReadingRepository
  • BookReadingRepositoryIntegrationTest
  • BookReadingRepositoryUnitTest

Endpoints

  • POST <baseurl>:<port>/api/bookreadings
  • GET <baseurl>:<port>/api/bookreadings
  • DELETE <baseurl>:<port>/api/bookreadings/<id>

Preparation

  • Checkout repository
  • Copy local.settings.json.example to local.settings.json and maybe adjust the env variable MONGO_DB_CONNECTION_STRING
  • Have a MongoDB instance running, that is reachable under MONGO_DB_CONNECTION_STRING

Run locally

  • Using Visual Studio UI to start Functions from BookReadingRepository
  • Using Azure Functions Core Tools to start function. Therefore change to BookReadingRepository directory and simply run func start.

Run Integration Tests

  • Copy app.config.example to app.config and fill variables.
  • Start Functions either through Visual Studio or from CLI.
  • Through Visual Studio, use the context menue of the BookReadingRepositoryIntegrationTest project to run test.
  • Hint: It is recommended to start the Functions using the CLI. Otherwise you will have to open 2 instances of Visual Studio. One to run the Functions, the other one to run the tests.

bookreading-api's People

Contributors

dependabot[bot] avatar iamnoah1 avatar

Watchers

 avatar  avatar  avatar

Forkers

venkiteshsa

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.