Skip to content

globant-challenge/petrol-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Petrol Web API

This repository provides a REST API that allows a client application to manage a FAQ.

It contains the basic instructions for managing questions:

  • Get questions (HTTP GET)
  • Insert a new question (HTTP POST)
  • Update a question (HTTP PUT)
  • Delete a question (HTTP DELETE)

Most important software dependencies

  • .NET Core 2.2
  • ASP.NET Core 2.2
  • Entity Framework Core 2.2
  • xUnit
  • SQL Server

Development Environment

In order to develop some software should be installed:

How to run the project from the command line

  • Clone the repository
  • Open the Windows Command Prompt
  • Navigate to the folder where the source code is located and navigate to the Petrol.WebApi folder
  • Open the appsettings.json file and update the "sqlDB" connection string.
  • Type "dotnet run" and press enter
  • Copy the URL with the label "Now listening on" and use it in a tool like PostMan

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages