Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Better structure #115

Merged
merged 7 commits into from
Nov 10, 2024
Merged

chore: Better structure #115

merged 7 commits into from
Nov 10, 2024

Conversation

pierre-castro
Copy link
Collaborator

@pierre-castro pierre-castro commented Nov 9, 2024

What

  • Standardization of folder stucture
  • Proper split of docker-compose / env so that each procedure is isolated
  • CI improvements
  • Added .editorconfig (install plugin on VSCode)

⚠️ Warning ⚠️

  • DATABASE_HOST_DEV and DATABASE_HOST_PROD have been removed in favor of a single prop DATABASE_HOST
  • Scripts have been removed from root package.json
  • To run E2E or integration tests:
    • Go to root dictory of the test
    • docker compose -f docker-compose.yml up in one terminal
    • Launch test command in another terminal: npm run test or docker compose exec playwright npx playwright test
  • Run docker compose --env-file .env -f docker-compose.yml up --build to start the project

- moved folder to inside backend
- start minimum dependcies in the docker compose
- use integration test config instead of global config
@pierre-castro pierre-castro force-pushed the chore/better-structure branch from d6be6d7 to 6c3a049 Compare November 9, 2024 18:05
@pierre-castro pierre-castro force-pushed the chore/better-structure branch from 6c3a049 to 73f0613 Compare November 9, 2024 18:22
@pierre-castro pierre-castro changed the title Chore/better structure chore: Better structure Nov 9, 2024
@pierre-castro pierre-castro force-pushed the chore/better-structure branch from c5d57ae to 06733de Compare November 9, 2024 20:38
@pierre-castro pierre-castro merged commit 126e969 into develop Nov 10, 2024
3 checks passed
@pierre-castro pierre-castro deleted the chore/better-structure branch November 10, 2024 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant