All Projects → the-urlist → backend-csharp

the-urlist / backend-csharp

Licence: MIT license
A C# / Azure Functions implementation of the API for https://www.theurlist.com

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to backend-csharp

cosmosdb-materialized-views
A full sample that shows how to implement real-time updated Materalized Views with CosmosDB, Change Feed and Azure Functions
Stars: ✭ 20 (-42.86%)
Mutual labels:  azure-functions, cosmosdb
smart-store
No description or website provided.
Stars: ✭ 73 (+108.57%)
Mutual labels:  azure-functions, cosmosdb
jlik.me
URL Shortener project.
Stars: ✭ 31 (-11.43%)
Mutual labels:  azure-functions, cosmosdb
Azure-Functions-KeyVault-Binding
A binding for Azure Functions to make working with Azure KeyVault easier.
Stars: ✭ 26 (-25.71%)
Mutual labels:  azure-functions
spring-data-cosmosdb
Access data with Azure Cosmos DB
Stars: ✭ 94 (+168.57%)
Mutual labels:  cosmosdb
Serverless-File-Validation
Using Azure Serverless products to perform file validation on a per-batch basis
Stars: ✭ 21 (-40%)
Mutual labels:  azure-functions
XamarinAzureChallenge
Create an iOS/Android app using Xamarin.Forms and connect it to a serverless Azure Function
Stars: ✭ 59 (+68.57%)
Mutual labels:  azure-functions
azure-developer-college
Repository for the Azure Developer College Workshop
Stars: ✭ 16 (-54.29%)
Mutual labels:  azure-functions
leto-serverless
Angular server(less) side rendering
Stars: ✭ 13 (-62.86%)
Mutual labels:  azure-functions
CADLab Loyalty
This is a end to end Loyalty business scenario
Stars: ✭ 21 (-40%)
Mutual labels:  azure-functions
UrlShortener
A Url Shortener service build with Azure Functions in less than 100 lines of code
Stars: ✭ 18 (-48.57%)
Mutual labels:  azure-functions
inventory-hub-java-on-azure
Sample Inventory Hub App using Serverless and Event-driven Java - on Azure with Spring Boot, Tomcat, Functions, Event Hub and Cosmos DB
Stars: ✭ 18 (-48.57%)
Mutual labels:  cosmosdb
TugOfWar-FunctionsDemo
Azure Functions Interactive Tug of War Game. Great demo project to learn Azure Functions and how to use proxies.
Stars: ✭ 44 (+25.71%)
Mutual labels:  azure-functions
azure-sql-db-prisma
Full-Stack End-To-End implementation - both with REST and GraphQL support - with Azure SQL and Prisma.io of the well-known To-do list sample.
Stars: ✭ 35 (+0%)
Mutual labels:  azure-functions
AzureFunctions.Extensions
This provides some useful extensions for Azure Functions.
Stars: ✭ 81 (+131.43%)
Mutual labels:  azure-functions
Liquid-Application-Framework
Liquid Application Framework documentation, useful links and sample project
Stars: ✭ 467 (+1234.29%)
Mutual labels:  cosmosdb
LearningPoint
A repository for learning different technologies, frameworks, features......
Stars: ✭ 66 (+88.57%)
Mutual labels:  azure-functions
serverless-full-stack-apps-azure-sql
Full stack solution using Javascript, Azure Static Web Apps, Azure Function, Azure SQL Database and a microservice architecture to monitor in real-time public transportation data, create a geofence and send notification when geofence is activated
Stars: ✭ 72 (+105.71%)
Mutual labels:  azure-functions
hyde-hyde
A cool theme inspired by spf13's Hyde theme
Stars: ✭ 234 (+568.57%)
Mutual labels:  opengraph
webshot
Screenshot websites as a service.
Stars: ✭ 84 (+140%)
Mutual labels:  opengraph

The Urlist - Backend

Build status License

The backend for this project was built as a serverless API using Azure Functions and .NET. All the data is stored in a Cosmos DB collection using the SQL API.

Build and run the backend locally

Get the prerequisites

Optional

Run the serverless backend

Navigate into backend folder

cd /src/LinkyLink

Build the project

dotnet build

Rename the local.settings.sample.json file to local.settings.json

Linux & MacOS

mv local.settings.sample.json local.settings.json

Windows command line

REN local.settings.sample.json local.settings.json

Update the local.settings.json file with your Application Insights key to the APPINSIGHTS_INSTRUMENTATIONKEY setting. You could also just remove this if you don't want to use Application Inisghts.

Create an a Cosmos DB instance in Azure using the SQL API. Update the local.settings.json file with your Cosmos DB connection string in the LinkLinkConnection settings. This database will initially be empty. If you try out the API with Postman (see below), the collection and sample documents will be created for you automatically. Otherwise it's structure will be created when you create your first list through the frontend.

Start the function via the command line

func start

func start

Alternatively, start a debuging session in Visual Studio or Visual Studio Code.

Try out the API with Postman

  • Start up Postman and import the theurlist_collection.json file that's in the backend folder
  • Next import the theurlist_localhost_env.json file. That includes the Localhost environment settings.
  • Set your environment to Localhost

postman

  • Run Save Bundle to add some data to Cosmos DB. The structure (collection, documents, etc.) in the database will be created for you if it does not exsist yet. Next run Get bundle for vanity url to retrieve the entry you just created.

If everything was setup correctly, your should see a response that resembles the following.

postman

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].