Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.
/ Restbucks-on-Nancy Public archive

Sample project implementing the Restbucks example from Rest in Practice using the Nancy web framework

Notifications You must be signed in to change notification settings

horsdal/Restbucks-on-Nancy

Repository files navigation

What?

This a REST application inspired in the excellent example of the book [Rest in Practice] 1.

It is based on the [Restbucks on .NET sample] 2, but uses [Nancy] 3, where the original sample uses WebAPI.

How?

To run this sample on your local box follow these steps:

  • Fork or clone this repository
  • Create an empty database in a Sql Server instance
  • Open the Visual Studio solution
  • Edit the connection string named “Restbucks” in the Web.Config (web project) and App.config (test project) files.
  • Run the test in RestBucks.Tests.DataInitializer, named InitializeData; this will create the database schema and populate some data.

If you want to run the full suite of tests, you need to follow these two additional steps:

  • Create another empty database
  • Modify the connection string named “Restbucks_Tests” in the App.Config (test project) to point to the database that you just created.

About

Sample project implementing the Restbucks example from Rest in Practice using the Nancy web framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published