triplepai / Assignment2C2P

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assignment 2C2P

using Features

  • C# API
  • Unit test
  • Entity framework

Prerequisites

  • Visual Studio
  • SQL Server

How to run API

  1. Go to 2C2PDB project and run .sql file in "Script" folder to build a schema and insert sample data
  2. Go to 2C2PWebAPI project and edit web.config connection string "DBContext" to your sql user
  3. Run project

How to Unit test

  1. Go to 2C2PWeb.Test project and edit App.config connection string "DBContext" to your sql user
  2. Run all test

*** You change see swagger by add "/swagger" after url path

About


Languages

Language:C# 98.7%Language:CSS 0.7%Language:HTML 0.3%Language:ASP 0.2%