Giter Site home page Giter Site logo

cs-salon's Introduction

CS Salon

C# Salon, 12/9/2016

By Erik Killops

Description

A simple website for a hypothetical Salon. Allows manager to create, read, update, and delete records for their stylists and clients.

Specs

Stylist Specs
BEHAVIOR INPUT OUTPUT
Allow user to create new stylist Name: Jane Doe, Phone: 503-123-4567, Clients: none Stylist created.
Save stylist when created (or updated) Jane Doe created. Saved to DB.
Allow user to update stylist details Name: Jane Doe, Phone: 503-891-0123, Clients: none Stylist updated.
Allow user to delete stylist Jane Doe - Delete Stylist deleted.
Allow user to search for stylist by name Search: 'Jane' Retrieve: Jane Doe etc.
Client Specs
BEHAVIOR INPUT OUTPUT
Allow user to create new client Name: Sally Smith, Phone: 503-111-2222, Stylist: Jane Doe Client created.
Save client when created (or updated) Jane Doe created. Saved to DB.
Allow user to update client details Name: Sally Smith Phone: 503-111-2222 Stylist: Sarah Carter Client updated.
Allow user to delete client Sally Smith - Delete Client deleted.
Allow user to search for client by name Search: 'Sally' Retrieve: Sally Smith

Setup/Installation Requirements

Requires Windows, .Net, SMSS, and SQL SERVER

  1. Clone repository.
  2. In SSMS, open hair_salon.sql
  3. Add "CREATE DATABASE [hair_salon]" on the first line and "GO" on the following line, and press "Enter".
  4. Save the file and click Execute.
  5. Repeat steps 2-5 for hair_salon_test.
  6. In Powershell, run ">dnx kestrel" and visit "localhost:5004".

Known Bugs

The website does not prevent against duplicate entries. If you need to remove duplicates you will have to do it manually via their individual page.

Technologies Used

HTML, C#, Nancy, Razor, Xunit, SQL.

License

GPL

Copyright (c) 2016 Erik Killops, Epicodus

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.