Git Product home page Git Product logo

complimentsasserviceapp's Introduction

Compliments As A Service

A simple API for retrieving compliments.

This project is built in C# using ASP.net Core 2.2. It mixes in a bit of MVC to an API controller. It's not meant to be fancy. Just shows that this setup can be achieved.

It can return a JSON object or a simple HTML page that displays the compliment/message. Once run, the server serves up a few end points:

/hello

Hello, world -Everyone

/hello/{name}.{format?}

If .json is specified, returns an object. Otherwise shows a page.

/cute/{name}/{from}.{format?}

If .json is specified, returns an object {"message": "Heeey, {name}, you're cute!", "subtitle": "{from}"}. Otherwise shows a simple page.

complimentsasserviceapp's People

Contributors

jamesmskelsey avatar

Watchers

James Cloos avatar  avatar

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.