An open API service indexing awesome lists of open source software.

https://github.com/marco0antonio0/back-makeapi

Projeto consiste em uma api sistema para criacao de apis e gerenciamento de conteudos com persistencia de dados
https://github.com/marco0antonio0/back-makeapi

api firebase nestjs netlify

Last synced: 3 months ago
JSON representation

Projeto consiste em uma api sistema para criacao de apis e gerenciamento de conteudos com persistencia de dados

Awesome Lists containing this project

README

          

# πŸš€ Make Api β€” CMS leve para endpoints e dados








**Make Api** Γ© um CMS **simples e direto** para criar endpoints REST e gerenciar conteΓΊdo de sites e apps, com foco em velocidade e praticidade.

---

## βš™οΈ Requisitos
- Node.js LTS (18+ recomendado)
- npm

---

## 🚚 Instalação e execução
```bash
# instalar dependΓͺncias
npm install --legacy-peer-dependency

# executar em desenvolvimento
npm run dev
```

Crie um `.env` (ou use `.env.example`), por exemplo:
```env
FIREBASE_API_KEY=
FIREBASE_AUTH_DOMAIN=
FIREBASE_PROJECT_ID=
FIREBASE_APP_ID=
FIREBASE_MESSAGING_SENDER_ID=
FIREBASE_STORAGE_BUCKET=
JWT_SECRET=
```

---

## πŸ“ Estrutura mΓ­nima sugerida
```
β”œβ”€β”€ πŸ“ .git/ 🚫 (auto-hidden)
β”œβ”€β”€ πŸ“ dist/ 🚫 (auto-hidden)
β”œβ”€β”€ πŸ“ netlify/
β”‚ └── πŸ“ functions/
β”‚ └── πŸ“„ nest.ts
β”œβ”€β”€ πŸ“ node_modules/ 🚫 (auto-hidden)
β”œβ”€β”€ πŸ“ src/
β”‚ β”œβ”€β”€ πŸ“ auth/
β”‚ β”‚ β”œβ”€β”€ πŸ“ decorators/
β”‚ β”‚ β”‚ └── πŸ“„ user.decorator.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“ dtos/
β”‚ β”‚ β”‚ β”œβ”€β”€ πŸ“„ change-password.dto.ts
β”‚ β”‚ β”‚ β”œβ”€β”€ πŸ“„ forgot-password.dto.ts
β”‚ β”‚ β”‚ β”œβ”€β”€ πŸ“„ login.dto.ts
β”‚ β”‚ β”‚ β”œβ”€β”€ πŸ“„ register-confirm.dto.ts
β”‚ β”‚ β”‚ β”œβ”€β”€ πŸ“„ register-request.dto.ts
β”‚ β”‚ β”‚ β”œβ”€β”€ πŸ“„ register.dto.ts
β”‚ β”‚ β”‚ └── πŸ“„ reset-password.dto.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“„ auth.controller.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“„ auth.module.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“„ auth.repositories.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“„ auth.service.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“„ jwt-auth.guard.ts
β”‚ β”‚ └── πŸ“„ jwt.strategy.ts
β”‚ β”œβ”€β”€ πŸ“ endpoint/
β”‚ β”‚ β”œβ”€β”€ πŸ“„ endpoint.controller.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“„ endpoint.module.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“„ endpoint.repository.ts
β”‚ β”‚ └── πŸ“„ endpoint.service.ts
β”‚ β”œβ”€β”€ πŸ“ firebase/
β”‚ β”‚ β”œβ”€β”€ πŸ“„ firebase.module.ts
β”‚ β”‚ └── πŸ“„ firebase.tokens.ts
β”‚ β”œβ”€β”€ πŸ“ itens/
β”‚ β”‚ β”œβ”€β”€ πŸ“„ itens.controller.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“„ itens.module.ts
β”‚ β”‚ β”œβ”€β”€ πŸ“„ itens.repository.ts
β”‚ β”‚ └── πŸ“„ itens.service.ts
β”‚ β”œβ”€β”€ πŸ“„ app.controller.ts
β”‚ β”œβ”€β”€ πŸ“„ app.module.ts
β”‚ β”œβ”€β”€ πŸ“„ app.service.ts
β”‚ └── πŸ“„ main.ts
β”œβ”€β”€ πŸ“ test/
β”‚ β”œβ”€β”€ πŸ“„ app.e2e-spec.ts
β”‚ └── πŸ“„ jest-e2e.json
β”œβ”€β”€ πŸ”’ .env 🚫 (auto-hidden)
β”œβ”€β”€ πŸ“„ .env.example
β”œβ”€β”€ πŸ“„ .eslintrc.js
β”œβ”€β”€ 🚫 .gitignore
β”œβ”€β”€ πŸ“„ .prettierrc
β”œβ”€β”€ πŸ“œ License.md
β”œβ”€β”€ πŸ“– README.md
β”œβ”€β”€ πŸ”’ bun.lock 🚫 (auto-hidden)
β”œβ”€β”€ πŸ“„ nest-cli.json
β”œβ”€β”€ βš™οΈ netlify.toml
β”œβ”€β”€ πŸ“„ package-lock.json
β”œβ”€β”€ πŸ“„ package.json
β”œβ”€β”€ πŸ“„ tsconfig.build.json 🚫 (auto-hidden)
└── πŸ“„ tsconfig.json
```

---

## 🀝 Contribuição
1. Verifique e **assinale** uma *issue*.
2. Sincronize e crie sua *branch*:
```bash
git checkout main
git pull origin main
git checkout -b feat/makeapi- # ou fix/makeapi-
```
3. Commit objetivo:
```bash
git commit -m "feat/makeapi-: resumo curto do que foi feito"
```
4. Envie e abra o PR:
```bash
git push origin feat/makeapi-
```
Revise o cΓ³digo e, estando OK, **autorize o merge**.

### ConvenΓ§Γ΅es rΓ‘pidas
- Branches: `feat/makeapi-`, `fix/makeapi-`
- Commits: `tipo/escopo: mensagem` (ex.: `feat`, `fix`, `chore`, `docs`)

---

## πŸ§ͺ Scripts
```bash
npm run dev
npm run build
npm start
```

---

## πŸ“œ LicenΓ§a
MIT (ou ajuste conforme necessΓ‘rio).