GithubHelp home page GithubHelp logo

huafangyun / taskswebapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jorgediegocrespo/taskswebapi

0.0 0.0 0.0 52 KB

Simple .NET api to test diferent tech concepts

License: MIT License

C# 99.72% Dockerfile 0.28%

taskswebapi's Introduction

Introduction

This project has been created to test different implementations related to the creation of a Rest API with .NET.

Functionally, the project is a basic task manager, in which there are lists and tasks associated to those lists. Moreover, these lists belong to a single user.

Some of the implementations carried out are:

  • JWT with Identity
  • Refresh token
  • Hosted services
  • Versioning by url and header
  • API Key management with service filter attribute
  • EF aoft delete
  • EF concurrency control
  • Tests with MSTest

Getting Started

  1. Install dotNet (the project is currently using dotNet 7)
  2. Create a Microsoft SQL Server database
  3. Fill the appsettings with your own configuracion

Build and Test

To build and run the main project (TasksWebApi) just build it and run with your own configuration.

There is a test project. To run all test in it, ensure that the connection string (DataBaseConnection) in the testappsettings json is a valid one. It is going to be used to create a mock database while test runs.

taskswebapi's People

Contributors

jorgediegocrespo 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.