Skip to content

caiobep/copa-filmes-backend

Repository files navigation

Copa Filmes

A .NET Core solution to look for the best film

CircleCI

Getting Started

Simply download .NET Core SDK https://www.microsoft.com/net/download/core

Change the api URL in launchSettings.json

"environmentVariables": {
    "ASPNETCORE_ENVIRONMENT": "Development",
    "API_URL": "<YOUR_API_URL_HERE>" // <-- That's it Right there!
}

Docker Build

There is a Makefile for macOS and Linux:

  • make build executes docker-compose build
  • make run executes docker-compose run

The above might work for Docker on Windows

Local Building

  • Install Cake as a global tool using dotnet tool install -g Cake.Tool
  • Run Cake: dotnet cake build.cake

Usage

This api have 2 main endpoitns

Method Route Params(Body) Description
GET /api/v1/movies None Returns All Movies
POST /api/v1/movies/tournament A Movies List Returns All Movies

Special Thanks

This project was heavily inspired on Beaultiful REST Api by Nate Barbettini and Aspnet Core RealWorld Example App by Thinkster

About

A .NET Core solution to look for the best film

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published