Questions tagged [project-structure]

Refers to layout of folders and components to help organize a project's files, whether code or resources

482 questions
0
votes
1 answer

files are not showing in project structure under Android tab in Android Studio

File (Project) structure is stuck at loading in flutter project under Android tab only in Android Studio(4.2.1). Thank you! Please check this image for better understanding
0
votes
1 answer

How to fix duplicated functions in object files?

I'm building a program just to increase my OOP skills. This is my project structure: Project -.vscode -build -includes - ContactInfo.h - Customer.h - Owner.h - PersonalInfo.h - User.h -src - ContactInfo.cpp - Customer.cpp …
Ali Ziya ÇEVİK
  • 186
  • 1
  • 1
  • 8
0
votes
0 answers

Spring Boot project structure conflict

I came across an issue that Spring Boot app works for the endpoint that has recently been changed. Controller: @RestController @RequiredArgsConstructor @RequestMapping("/tasks") public class TaskController { private final TaskService…
Bl4kee
  • 11
  • 2
0
votes
1 answer

Project structure to deal with Path nuances in Python

I am developing a Python project and the current structure of the project looks like this: myproject __init.__py contents - __init__.py - content1.py ... configs - __init__.py - config.py ... utils - __init__.py -…
enterML
  • 2,110
  • 4
  • 26
  • 38
0
votes
0 answers

django tornado project structure

I am using tornado with django. Right now, my django project structure is like…
Aryan Iyappan
  • 323
  • 1
  • 3
  • 15
0
votes
0 answers

What's the correct way to structure a Shiny project with a downloadable RMarkdown report?

I have a reasonably complex Shiny App (several modules) that allows users to fiddle with many different parameters and generate a lot of plots. I want to add the ability for users to download the output they've generated in the Shiny App as a…
0
votes
1 answer

Duplicate classes in identical packages, but only one of those can be imported

I am working on a legacy Java app and am investigating why there are duplicate classes in 2 of the projects, used in the workspace. So the classes from project1 and project2 are both in com.example.SomeClass - the package name is the same, as well…
Rivfader
  • 59
  • 6
0
votes
1 answer

How to put React Native code with Spring Boot backend into source control?

I'm developing a React Native app with Spring Boot backend. I've put the backend to github. Now I'm connecting to backend in React native part. Should I initialize a new repo or make folders like server and client for this?
0
votes
1 answer

How to properly set up layers of application using javaee, javafx, jpa?

I am creating javafx desktop application and javaee application. They will be almost same in functionality. Both applications needs to have its own sql database, but the databases will have same structure (same tables). I am using Eclipse IDE and…
Wortig
  • 963
  • 2
  • 11
  • 37
0
votes
1 answer

Python: How to import package from subdirectory

I have the following project structure: Project/ |-- src/ | |-- package/ | |-- __init__.py | |-- a.py | |-- b.py | |-- tests/ |-- test_a.py My __init__.py file looks like this from .a import some_function from .b import…
Jannik
  • 399
  • 2
  • 5
  • 22
0
votes
1 answer

Python: How to import a module from a parent directory

I know there are many similar questions out there already, but none of the answers did really work for me, so please read my question first (and tell me where I went wrong with the other solutions) before marking this as duplicate. My project…
Jannik
  • 399
  • 2
  • 5
  • 22
0
votes
2 answers

How to access file in projects root folder?

My project structure looks like this: Repo/ |-- data/ | |-- a.csv | |-- b.csv | |-- src/ | |-- project/ | |-- c.py | |-- .gitignore |-- README.md I'm new to structuring my projects like this, as they are mostly private repos, but I…
Jannik
  • 399
  • 2
  • 5
  • 22
0
votes
0 answers

Best way to deal with unittest and imports of local modules in Python3 without using hacky solutions

I know this is an hot topic in the community and a lot of people asked the same thing. Unfortunately, after I read a huge number of these topics I did not find yet a proper solution. I am asking your kind support to find the best way to deal with…
Rick
  • 11
  • 2
0
votes
1 answer

Build two variation of the same projects with Angular

I am working on a project which requires creating two variations of the same website (male and female) The two projects must each be in a different path, the first www.website.com/male/somelink and the second www.website.com/female/somelink The two…
0
votes
0 answers

Spring Crud Repository - Unsatisfied dependency expressed - Cant inject model

i seem to be unable to get Spring to recognize the native CrudRepository and use it, because spring isn not able to inject / use the actual class that my generic CrudRepository needs to implement when i put it in a different package than the one…