Skip to content

serdarakay/charge-station

Repository files navigation

GreenFlux Smart Charging API

This application is designed for designed and developed for GreenFlux.

Getting Started

These instructions will guide you on how to run and use the application on your local machine.

Prerequisites

You will need the following prerequisites to run the application:

Installation

  1. Clone the project to your local machine:

    git clone https://github.com/serdarakay/charge-station.git
    
  2. Navigate to the project directory:

    cd your-repo/GreenFluxSmartChargingAPI
    
  3. Run this command:

    dotnet add package Microsoft.EntityFrameworkCore
    dotnet add package Microsoft.EntityFrameworkCore.Design
    dotnet add package Microsoft.EntityFrameworkCore.Sqlite
    
    dotnet tool --global dotnet-ef
    dotnet ef migrations add initial
    dotnet ef database update
    
  4. Navigate to the Test project directory:

    cd your-repo/XUnitTest
    
    dotnet add package Microsoft.AspNetCore.Mvc.Testing
    dotnet add package Microsoft.EntityFrameworkCore.InMemory
    
  5. Run Project and then you can test all endpoints at swagger.

  6. You can test all endpoints into this url.

Usage

You can use swagger guidance to test api end points.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages