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

Backend: Set up architecture and initial structure #1

Closed
7 tasks done
LauraBeatris opened this issue Dec 2, 2020 · 0 comments · Fixed by #4
Closed
7 tasks done

Backend: Set up architecture and initial structure #1

LauraBeatris opened this issue Dec 2, 2020 · 0 comments · Fixed by #4

Comments

@LauraBeatris
Copy link
Owner

LauraBeatris commented Dec 2, 2020

Describe the feature request

Set up the architecture and initial structure of the API.

The architecture is going to be based on DDD and the development process is going to be based on TDD.

Describe the solution you'd like

As DDD is going to be applied, the domain layers should be configured, refer to the following structure:

  • domain
    • infra
    • interfaces
    • services
      • tests
      • service
    • dtos

Must follow the principles of SOLID and configure a container for dependencies.

Tasks

  • Set up structure with Express as the Web Framework.
  • Configure code styles tools such as Editor Config and Eslint.
  • Configure husky and lint-staged to run scripts based on git hooks.
  • Add base folders with .gitkeep to be used on the next pull requests.
  • Configure TypeORM and use Mongo as the database.
  • Add README.md with base instructions to run the API.
  • Configure dependencies container
@LauraBeatris LauraBeatris created this issue from a note in Backend Features (To do) Dec 2, 2020
@LauraBeatris LauraBeatris changed the title Setup architecture and initial structure Set up architecture and initial structure Dec 2, 2020
Repository owner deleted a comment from gabrielsanttana Dec 2, 2020
@LauraBeatris LauraBeatris linked a pull request Dec 2, 2020 that will close this issue
Backend Features automation moved this from To do to Done Dec 2, 2020
@LauraBeatris LauraBeatris changed the title Set up architecture and initial structure Backend: Set up architecture and initial structure Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant