Skip to content

Projeto pessoal usando os conhecimentos obtidos atraves do bootcamp do Decola Tech 2025 da Avande + DIO.

Notifications You must be signed in to change notification settings

MarcioCosta013/DevTechBlog-UI

Repository files navigation

Bem-Vindo ao DEV TECH BLOG πŸ‘‹

Version

angular typescript docker HTML CSS

Um Blog feito em Angular como um projeto do Bootcamp DecolaTech 2025 da Avanade + DIO.

English version: Click here.

Estrutura do Projeto

src/
β”œβ”€β”€ app/
β”‚ β”œβ”€β”€ app.component.ts # Componente principal da aplicaΓ§Γ£o
β”‚ β”œβ”€β”€ app.module.ts # MΓ³dulo principal da aplicaΓ§Γ£o
β”‚ β”œβ”€β”€ components/
β”‚ β”‚ β”œβ”€β”€ big-card/
β”‚ β”‚ β”‚ β”œβ”€β”€ big-card.component.ts # Componente de cartΓ£o grande
β”‚ β”‚ β”‚ └── big-card.component.html # Template HTML do componente de cartΓ£o grande
β”‚ β”‚ β”œβ”€β”€ contribua-form/
β”‚ β”‚ β”‚ β”œβ”€β”€ contribua-form.component.ts # Componente de formulΓ‘rio de contribuiΓ§Γ£o
β”‚ β”‚ β”‚ └── contribua-form.component.html # HTML do componente de formulΓ‘rio de contribuiΓ§Γ£o
β”‚ β”‚ β”œβ”€β”€ footer/
β”‚ β”‚ β”‚ β”œβ”€β”€ footer.component.ts # Componente de rodapΓ©
β”‚ β”‚ β”‚ └── footer.component.html # Template HTML do componente de rodapΓ©
β”‚ β”‚ β”œβ”€β”€ menu-bar/
β”‚ β”‚ β”‚ β”œβ”€β”€ menu-bar.component.ts # Componente de barra de menu
β”‚ β”‚ β”‚ └── menu-bar.component.html # Template HTML do componente de barra de menu
β”‚ β”‚ └── ...
β”‚ β”œβ”€β”€ pages/
β”‚ β”‚ β”œβ”€β”€ content/
β”‚ β”‚ β”‚ β”œβ”€β”€ content.component.ts # Componente de conteΓΊdo
β”‚ β”‚ β”‚ └── content.component.html # Template HTML do componente de conteΓΊdo
β”‚ β”‚ β”œβ”€β”€ home/
β”‚ β”‚ β”‚ β”œβ”€β”€ home.component.ts # Componente de pΓ‘gina inicial
β”‚ β”‚ β”‚ └── home.component.html # Template HTML do componente de pΓ‘gina inicial
β”‚ β”‚ β”œβ”€β”€ quizz/
β”‚ β”‚ β”‚ β”œβ”€β”€ quizz.component.ts # Componente de quiz
β”‚ β”‚ β”‚ └── quizz.component.html # Template HTML do componente de quiz
β”‚ β”‚ └── ...
β”‚ β”œβ”€β”€ services/
β”‚ β”‚ β”œβ”€β”€ contribuidor.service.ts # ServiΓ§o de contribuidores
β”‚ β”‚ └── ...
β”‚ └── ...
β”œβ”€β”€ assets/
β”‚ β”œβ”€β”€ data/
β”‚ β”‚ β”œβ”€β”€ dataFake.ts # Dados fake para teste
β”‚ β”‚ └── quizz_questions.json # Dados de perguntas do quiz
β”‚ └── ...
β”œβ”€β”€ environments/
β”‚ β”œβ”€β”€ environment.ts # ConfiguraΓ§Γ΅es de ambiente
β”‚ └── environment.prod.ts # ConfiguraΓ§Γ΅es de ambiente para produΓ§Γ£o
└── ...

InstalaΓ§Γ£o

  1. Clone o repositΓ³rio: git clone https://github.com/MarcioCosta013/DecolaTech2025-angular-blog.git
  2. Instale as dependΓͺncias: npm install
  3. Configure o ambiente de desenvolvimento: ng serve

InstruΓ§Γ΅es para usar o projeto com Docker

  1. Certifique-se de ter o Docker instalado e configurado em sua mΓ‘quina.
  2. Clone o repositΓ³rio do projeto e navegue atΓ© o diretΓ³rio raiz do projeto.
  3. Execute o comando docker build -t "meu-projeto" . para criar a imagem do Docker.
  4. Execute o comando docker-compose up para iniciar o container e executar a aplicaΓ§Γ£o.
  5. Acesse a aplicaΓ§Γ£o em http://localhost:4200 no seu navegador.

ObservaΓ§Γ΅es

  • Certifique-se de ter o Node.js e o npm instalados em sua mΓ‘quina para executar o comando npm install.
  • O comando docker-compose up irΓ‘ iniciar o container e executar a aplicaΓ§Γ£o em modo de desenvolvimento.
  • Para executar a aplicaΓ§Γ£o em modo de produΓ§Γ£o, vocΓͺ precisarΓ‘ criar um novo arquivo docker-compose.yml com as configuraΓ§Γ΅es de produΓ§Γ£o e executar o comando docker-compose up com o arquivo de produΓ§Γ£o.

πŸ–₯ Servidor de Desenvolvimento

Execute ng serve para iniciar um servidor de desenvolvimento. Navegue atΓ© http://localhost:4200/. A aplicaΓ§Γ£o recarregarΓ‘ automaticamente se vocΓͺ alterar qualquer um dos arquivos de origem.

😎 Autor

Marcio Costa

πŸ™πŸΏ Mais Ajuda

Para obter mais ajuda sobre o Angular CLI, use ng help ou confira a documentaΓ§Γ£o oficial do Angular CLI.

🀝 Contribuição

ContribuiΓ§Γ΅es, problemas e solicitaΓ§Γ΅es de recursos sΓ£o bem-vindos!
Fique Γ  vontade para conferir issues page.

🀩 Mostre seu apoio

DΓͺ uma ⭐️ se este projeto te ajudou!








Welcome to Angular-Blog πŸ‘‹

Version

angular typescript docker HTML CSS

A blog made with Angular as a project from the DecolaTech 2025 Bootcamp by Avanade + DIO.

πŸ”— View site

VersΓ£o em Portuguese: Click aqui.

Project Structure

src/
β”œβ”€β”€ app/
β”‚ β”œβ”€β”€ app.component.ts # Main application component
β”‚ β”œβ”€β”€ app.module.ts # Main application module
β”‚ β”œβ”€β”€ components/
β”‚ β”‚ β”œβ”€β”€ big-card/
β”‚ β”‚ β”‚ β”œβ”€β”€ big-card.component.ts # Large card component
β”‚ β”‚ β”‚ └── big-card.component.html # Large card component HTML template
β”‚ β”‚ β”œβ”€β”€ contribua-form/
β”‚ β”‚ β”‚ β”œβ”€β”€ contribua-form.component.ts # Contribution form component
β”‚ β”‚ β”‚ └── contribua-form.component.html # Contribution form component HTML template
β”‚ β”‚ β”œβ”€β”€ footer/
β”‚ β”‚ β”‚ β”œβ”€β”€ footer.component.ts # Footer component
β”‚ β”‚ β”‚ └── footer.component.html # Footer component HTML template
β”‚ β”‚ β”œβ”€β”€ menu-bar/
β”‚ β”‚ β”‚ β”œβ”€β”€ menu-bar.component.ts # Menu bar component
β”‚ β”‚ β”‚ └── menu-bar.component.html # Menu bar component HTML template
β”‚ β”‚ └── ...
β”‚ β”œβ”€β”€ pages/
β”‚ β”‚ β”œβ”€β”€ content/
β”‚ β”‚ β”‚ β”œβ”€β”€ content.component.ts # Content component
β”‚ β”‚ β”‚ └── content.component.html # Content component HTML template
β”‚ β”‚ β”œβ”€β”€ home/
β”‚ β”‚ β”‚ β”œβ”€β”€ home.component.ts # Home page component
β”‚ β”‚ β”‚ └── home.component.html # Home page component HTML template
β”‚ β”‚ β”œβ”€β”€ quizz/
β”‚ β”‚ β”‚ β”œβ”€β”€ quizz.component.ts # Quiz component
β”‚ β”‚ β”‚ └── quizz.component.html # Quiz component HTML template
β”‚ β”‚ └── ...
β”‚ β”œβ”€β”€ services/
β”‚ β”‚ β”œβ”€β”€ contribuidor.service.ts # Contributor service
β”‚ β”‚ └── ...
β”‚ └── ...
β”œβ”€β”€ assets/
β”‚ β”œβ”€β”€ data/
β”‚ β”‚ β”œβ”€β”€ dataFake.ts # Fake data for testing
β”‚ β”‚ └── quizz_questions.json # Quiz question data
β”‚ └── ...
β”œβ”€β”€ environments/
β”‚ β”œβ”€β”€ environment.ts # Environment configurations
β”‚ └── environment.prod.ts # Production environment configurations
└── ...

Install

  1. Clone the repository: git clone https://github.com/MarcioCosta013/DecolaTech2025-angular-blog.git
  2. Install dependencies: npm install
  3. Set up the development environment: ng serve

Instructions for Using the Project with Docker

  1. Make sure you have Docker installed and configured on your machine.
  2. Clone the project repository and navigate to the project's root directory.
  3. Run the command docker build -t "my-project" . to create the Docker image.
  4. Run the command docker-compose up to start the container and run the application.
  5. Access the application at http://localhost:4200 in your browser.

Notes

  • Make sure you have Node.js and npm installed on your machine to run the npm install command.
  • The docker-compose up command will start the container and run the application in development mode.
  • To run the application in production mode, you will need to create a new docker-compose.yml file with production settings and run the docker-compose up command with the production file.

πŸ–₯ Development Server

Run ng serve to start a development server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

😎 Author

Marcio Costa

πŸ™πŸΏ More Help

For more help with the Angular CLI, use ng help or check the official Angular CLI documentation.

🀝 Contribution

Contributions, issues, and feature requests are welcome!
Feel free to check out the issues page.

🀩 Show your support

Give a ⭐️ if this project helped you!

About

Projeto pessoal usando os conhecimentos obtidos atraves do bootcamp do Decola Tech 2025 da Avande + DIO.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published