Skip to content

This is a RESTful web service built with .NET Core 2.1 for some of my Angular projects

Notifications You must be signed in to change notification settings

Tiamatt/DotNetApisForAngularProjects

Repository files navigation

DotNetApisForAngularProjects app

This is a RESTful web service built with .NET Core 2.1 for some of my Angular project.
The APIs are used in the following projects:

Demo

This web service is deployed and run on SmarterAsp.Net hosting (moved from Microsoft Azure Cloud)

Example (link):

[
    {
        "id": 1,
        "name": "Create Your Own",
        "description": "25% off Regular Menu Price Online Orders",
        "itemCategoryId": 4,
        "itemCategoryName": "Specials",
        "price": 10.99
    },
    {
        "id": 3,
        "name": "Cinnamon Pull Aparts",
        "description": "Bite-sized sweet roll dough covered in cinnamon and sugar, topped with cinnamon crumbles then baked and drizzled with cream cheese icing",
        "itemCategoryId": 1,
        "itemCategoryName": "Specials",
        "price": 6.29
    },
    {
        "id": 5,
        "name": "Double Chocolate Chip Brownie",
        "description": "Filled with chocolate chips, cut into 9 squares and served warm",
        "itemCategoryId": 1,
        "itemCategoryName": "Specials",
        "price": 3.19
    }
]

Features

  • RESTful API design
  • Async/Await approach
  • CORS configuration

Built With

  • .NET Core 2.1.0
  • Entity Framework Core 2.1.0
  • C#
  • Visual Studio Code

Getting Started

Install:

  1. .NET Core CDK
  2. Visual Studio Code IDE
  3. '.NET Core Extension Pack' extension

In order to start the project:

# download the source code
$ git clone https://github.com/Tiamatt/PapaJohnsCloneApi
# open the project with Visual Studio Code
# restore packages
$ dotnet restore
# run application
$ dotnet run
# open in browser
$ https://localhost:5001/api/values

About

This is a RESTful web service built with .NET Core 2.1 for some of my Angular projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages