This is a very simple web app that would allow a user to keep and update a database of shoe stores and shoe brands as well as the relationship between them.
- Clone this repository
- Open the Windows Powershell and connect to your local database
- In SQLCMD:
- 1>CREATE DATABASE shoe_stores;
- 2>GO
- 1>USE shoe_stores;
- 2>GO
- 1>CREATE TABLE stores (id INT IDENTITY(1,1), name VARCHAR(255));
- 2>CREATE TABLE brands (id INT IDENTITY(1,1), name VARCHAR(255);
- 3>CREATE TABLE stores_brands (id INT IDENTITY(1,1), store_id INT, brand_id INT);
- 4>GO
- 1>Quit
- In the Windows Powershell navigate to the project folder
- and run the following commands:
- dnu restore
- dnx kestrel
- Then open the browser of your choice to localhost:5004
None.
C# with the Nancy web framework; SQL Server 2016 CTP3; HTML; xUnit for testing
Copyright (c) 2016 David Diehr
This software is licensed under the MIT license.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.