The main goal of this project is to create a webshop for selling high-quality images, catering to both private and business needs. Magical Imagery aims to address customer concerns regarding legal issues amidst the surge in AI-generated images, offering artists the freedom to pursue their passion for drawing without constraints. The webshop can be deployed either via a cloud provider or on a self-hosted server.
- .NET 8 SDK
- Docker Engine
- Docker Desktop (optional)
To get started with this project, follow these steps:
- Clone this repository to your local machine.
- Open the
Magical.sln
project file - Build the Docker Containers:
- Set
docker-compose
as start project. - Run
Db only
asStart without Debugging
- Set
- Set-up Database
- Open Paket-Manager-Console
- Apply
Web
als start project. - Apply
Data
as standard project in Paket-Manager-Console - Type
Update-Database
and run it
- Run application in Debug (F5) or Normal Mode (Ctrl + F5)
- If it's the first time starting the project, you'll be asked to install a HTTPS certificate. Accept / Install it.
To get started with this project, follow these steps:
- Clone this repository to your local machine.
- Open the
Magical.sln
project file. - Build the Docker Containers:
- Open a terminal of your choice in the
docker-compose
directory. - Run
docker-compose up --build
to build the containers.
- Open a terminal of your choice in the
- Set-up Database:
- Open Paket-Manager-Console.
- Type
dotnet ef database update
and run it.
- Run application in Debug or Normal Mode:
- Open a terminal of your choice in the
Web
directory. - Run
dotnet run
to start the application.
- Open a terminal of your choice in the
- If it's the first time starting the project, you'll be asked to install an HTTPS certificate. Accept / Install it.
Directory | Description |
---|---|
Data |
Contains the models, interfaces and database context for the application. |
docker-compose |
Contains the configuration for the Docker containers. |
Web |
Contains the UI / Frontend of the application. |
Tests |
Contains the unit and integration tests for the project. |
Please create an branch copy from main
branch, named after the feature or user story you work on and submit a stable version per Pull-request.
Login | Data |
---|---|
admin@example.com | |
Password | *Asdf123 |
Role | Admin |
Login | Data |
---|---|
artist@example.com | |
Password | *Asdf123 |
Role | Artist |
This project is licensed under the Apache License 2.0 License. See the LICENSE file for details.