Giter VIP home page Giter VIP logo

clone-tabnews's Introduction

clone-tabnews

Implementação do https://tabnews.com.br para o https://curso.dev com FilipeDeschamps.

Subir servidor de desenvolvimento

npm run dev # npm run services:up && next dev

Subir, parar e derrubar serviços

npm run services:up # docker compose -f infra/compose.yaml up -d
npm run services:stop # docker compose -f infra/compose.yaml stop
npm run services:down # docker compose -f infra/compose.yaml down

Executar linter

npm run lint:check # prettier --check .
npm run lint:fix # prettier --write .

Executar testes

npm run test # jest
npm run test:watch # jest --watchAll

clone-tabnews's People

Contributors

hananitallyson avatar

Stargazers

Pedro Ivo avatar Daniel Silva avatar Filipe Deschamps avatar

Watchers

Filipe Deschamps avatar  avatar

Forkers

engcfraposo

clone-tabnews's Issues

Proposta de Arquitetura e Pastas

A arquitetura de software escolhida foi a MVC (Models - Views - Controllers), que é uma das mais conhecidas e foi criada em 1979. Abaixo, segue a proposta de organização de pastas dentro do projeto.

📦 root # Diretório raiz
├── pages
├── models
├── infra
├── tests
📦 root # Diretório raiz
├── 📁 pages
│   └── 📁 api
│   └── 📁 v1
│   │   └── 📁 status
│   │       └── index.js
│   └── index.js
├── 📁 models
│   └── user.js
│   └── content.js
│   └── password.js
├── 📁 infra
│   └── database.js
│   └── 📁 migrations
│   └── 📁 provisioning
│       └── 📁 staging
│       └── 📁 production
├── 📁 tests
│   └── 📁 integration

Banco de Dados (Local)

  • Criar endpoint /status
  • Subir Banco de Dados (Local)
  • Criar módulo database.js
  • Mover arquivo para .env para .env.development
  • Adicionar .jsconfig.js com o baseUrl
  • Adicionar os scripts dos serviços
  • Finalizar retorno do endpoint /status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.