Giter Site home page Giter Site logo

likebutton's Introduction

LikeButtonChallenge

This project provides an approach to solving an action of liking a post on a social network.

Running

The project was developed using DotNet 5 and docker-compose to create the containers. For the execution to take place successfully, this requirement must be met.

Enter in the root folder of the project and execute the command:

docker-compose up -d // Windows
sudo docker-compose up -d // Linux

That command will generate three containers: sql1, redis and rabbitmq_management. You can check if the containers are up with the follow command (after the download of the images):

docker container ps // Windows
sudo docker container ps // Linux

In case that you don't have dotnet ef cli installer, you can install it with the command below:

dotnet tool install --global dotnet-ef

After running docker-compose, it will also be necessary to create the tables from the migrations already defined. Run the following commands:

cd Infrastructure/
dotnet ef --startup-project ../API/API.csproj database update

Open the project in your IDE and execute the project.

Usage

The project has 4 engpoints: create an article, get all articles, get an article and like an article. They can be called by the tool of you preference.

Architecture

Untitled Diagram

likebutton's People

Contributors

juventinoneto avatar renovate[bot] avatar

Watchers

 avatar

likebutton's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

docker-compose
docker-compose.yml
  • luizcarlosfaria/mssql-server-linux 2019-latest
  • rabbitmq 3-management
github-actions
.github/workflows/dotnet.yml
  • actions/checkout v4
  • actions/setup-dotnet v3
nuget
API/API.csproj
  • Microsoft.Extensions.Hosting 8.0.0
  • Microsoft.EntityFrameworkCore.Design 8.0.0
  • Swashbuckle.AspNetCore 6.5.0
  • Microsoft.EntityFrameworkCore.SqlServer.Design 1.1.6
Application/Application.csproj
  • MediatR 12.2.0
Infrastructure/Infrastructure.csproj
  • Newtonsoft.Json 13.0.3
  • Microsoft.Extensions.Hosting 8.0.0
  • Microsoft.Extensions.Caching.StackExchangeRedis 8.0.0
  • Microsoft.EntityFrameworkCore.Tools 8.0.0
  • Microsoft.EntityFrameworkCore.SqlServer 8.0.0
  • Microsoft.EntityFrameworkCore 8.0.0
  • RabbitMQ.Client 6.7.0
  • Microsoft.EntityFrameworkCore.SqlServer.Design 1.1.6
Test/Test.csproj
  • coverlet.collector 6.0.0
  • xunit.runner.visualstudio 2.5.4
  • xunit 2.6.2
  • Moq 4.16.1
  • Microsoft.NET.Test.Sdk 17.8.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.