Skip to content

ivonaaaa/Internship-7-Drive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INTERNSHIP

7th ASSIGNMENT

DumpDrive App 💿

The DumpDrive App is a console application made to mimic a real disk drive where users can manage their content, including what's shared with them by other users. The project is built using C# in Visual Studio and is based on a three-tier software architecture. PostgreSQL database is integrated through PgAdmin, while the app communicates with it through LINQ queries and EF Core ORM. While coding this app I also used OOP concepts and some other design patterns.

Features

  • Dynamic console UI
  • User Authentication
  • Folder and file management
  • Specific logic integrated for shared content
  • Profile management

Technologies used

  • Language: C#
  • Framework: .NET 9.0
  • Database: PostgreSQL
  • ORM: Entity Framework Core
  • Tools: Visual Studio, PgAdmin

Packages

The project utilizes the following NuGet packages:

  • Microsoft.EntityFrameworkCore
  • Npgsql.EntityFrameworkCore.PostgreSQL
  • Microsoft.EntityFrameworkCore.Tools
  • Microsoft.EntityFrameworkCore.Design

Installation and running

To get started with this project, you need to have the following installed on your machine:

  1. .NET 9.0 SDK: You can download the .NET 9.0 SDK from the official .NET website.
  2. Visual Studio: If you haven't already, download and install it here.
  3. PostgreSQL: Install PostgreSQL and set up your database. Use PgAdmin for managing your PostgreSQL database.

Steps to Install the Project:

  1. Clone and open the Repository: Open a terminal (or command prompt on your machine) and run the following commands:

    git clone https://github.com/ivonaaaa/Internship-7-Drive.git
    cd Internship-7-Drive
  2. Restore packages: Restore the NuGet packages required for the project:

    dotnet restore
  3. Create the database in PGAdmin: In this step you will need to connect to your PostgreSQL server. While doing so, remeber the usernane and password as you will need them later on.

  4. Configure connection strring: In the App.config.xml, set your connection string with the right values.

  5. Apply migrations and seed data:

    cd DumpDrive.Data
    dotnet ef migrations add InitialCreate
    dotnet ef database update
  6. Navigate to the startup layer:

    cd ../DumpDrive.Presentation
  7. Run the code:

    dotnet run

About

7th internship task

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages