Giter VIP home page Giter VIP logo

nenad0707 / todoapp Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 240 KB

This is a C# Todo API using ASP.NET Core Web API. It supports user registration, login, and todo task management. The project includes Azure Bicep for infrastructure setup, and uses GitHub Actions for continuous integration and continuous deployment.

License: MIT License

C# 53.46% TSQL 2.24% Bicep 9.94% PowerShell 4.61% CSS 29.75%
asp-net-core-web-api azure azure-app-service azure-sql-database azure-sql-server bicep bicep-azure cors dependency-injection github-actions health-check jwt-authentication jwt-token powershell rate-limiting response-caching serilog ssdt swagger-ui dapper

todoapp's Introduction

Todo API Project ๐Ÿ“

deploy-api-website-with-database

This project is a Todo API that allows users to manage their todo tasks.

About the API ๐Ÿ“ก

The API provides endpoints for users to create, read, update, and delete todo tasks. It uses JWT for authentication and authorization.

Technologies Used ๐Ÿ”ง

The project is written in C# and uses the following technologies:

  • .NET Core for the API
  • Dapper for data access
  • SQL Server Data Tools (SSDT) for database management
  • JWT for authentication
  • Azure Bicep for infrastructure as code
  • GitHub Actions for CI/CD

User Flow ๐Ÿ‘ฅ

To use the API, users need to:

  1. Register a new account using the /register endpoint.
  2. Log in with their new account using the /login endpoint. This will return a token.
  3. Use the token to authenticate their requests to the other endpoints.

Azure Bicep and Modules โ˜๏ธ

The project uses Azure Bicep for infrastructure as code. The Bicep files define the resources needed for the project, such as the App Service and SQL Server.

Azure Infrastructure

โš ๏ธ Note

The Azure resources used in this project are temporary as they are part of an Azure Cloud Sandbox which was purchased temporarily. Please ensure to replace these resources with your own before deploying the project.

Azure Scripts ๐Ÿ“œ

The project includes Azure scripts for deploying the infrastructure and the application. The scripts use the Azure CLI and PowerShell.

GitHub Actions CI/CD Pipeline ๐Ÿ™

The project uses GitHub Actions for continuous integration and continuous deployment. The workflows include building the application, running tests, and deploying to Azure.

Conclusion ๐Ÿ

This project demonstrates a complete workflow for a Todo API, from development to deployment. It shows how to use .NET Core, Dapper, SSDT, JWT, Azure Bicep, Azure scripts, and GitHub Actions in a real-world scenario.

๐Ÿ“ License

This project is MIT licensed.

todoapp's People

Contributors

nenad0707 avatar

Stargazers

 avatar

Watchers

 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.