Skip to content

eduardo-borges-goncalves/API-Car-Store-Bootcamp-Senai

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Car Store - English

This project is an API for a car store, developed during a bootcamp at Senai using C# as the main technology.

Technologies Used

  • C#
  • ASP.NET Core 3.1
  • Entity Framework Core
  • Swagger

How to run the project

  1. Clone the repository
  2. Open the solution in Visual Studio
  3. Open the Package Manager Console and run the following command to create the database:
Update-Database
  1. Run the project in Visual Studio
  2. Open your browser and go to https://localhost:5001/swagger/index.html to access the Swagger documentation

Endpoints

The API has the following endpoints:

GET /api/cars

Returns a list of all cars in the database.

GET /api/cars/{id}

Returns a car by its id.

POST /api/cars

Creates a new car.

PUT /api/cars/{id}

Updates a car by its id.

DELETE /api/cars/{id}

Deletes a car by its id.

Database

The database used in this project is a Microsoft SQL Server database, created using Entity Framework Core. The database has a single table, called "Cars", which contains the following fields:

  • Id (int, primary key)
  • Brand (nvarchar(50), not null)
  • Model (nvarchar(50), not null)
  • Year (int, not null)
  • Price (decimal(18,2), not null)

License

This project is licensed under the MIT License - see the LICENSE file for details.

API Car Store - Português

cars

Aplicação backend do DEVinCar, projeto desenvolvido pelos alunos do curso DEVinHouse Turma Audaces 2022, do SENAI/SC.

A API foi desenvolvida em .NET Core 6, em C#, conectando em base SQL Server.

🔨 Funcionalidades do projeto

  • Tema 1 Módulo de Cadastro: Responsável por manter e gerir o cadastro de usuários e produtos.
  • Tema 2 Módulo de Vendas: Responsável por gerir as vendas de carros e as entregas.
  • Tema 3 Módulo de Geo-Posicionamento: Responsável por gerir o cadastro de cidades, estados e endereços.

users sales addresses

✔️ Técnicas e tecnologias utilizadas

  • C#
  • ASP.NET Core 6 com Entity Framework Core 6
  • SQL Server
  • Paradigma de orientação a objetos

📁 Acesso ao projeto

Você pode acessar os arquivos do projeto clicando aqui.

🚀 Pessoas desenvolvedoras do projeto

Squad 1 @matheusgevartosky @ViniciusAAssuncao @Queroix @brunocapistrano @juliju01 @eduardo-borges-goncalves

Squad 2 @RodrigoRaiche @Ro3son @JoaoCoelhoSoares @BCS93

Squad 3 @Reibnitz @agnaldobrito @feliperi0s @pedrocapinos @gmvilela @Bbbias @albertdipaula

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%