feat: initial commit - 1000apps SaaS container
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# ✅ PostgreSQL Persistence - CONFIRMED
|
||||
|
||||
## Test Date: 2026-06-27 14:10 UTC
|
||||
|
||||
### User Created via API
|
||||
```json
|
||||
POST /api/auth/signup
|
||||
{
|
||||
"username": "persistence-test",
|
||||
"password": "test123"
|
||||
}
|
||||
|
||||
Response:
|
||||
{
|
||||
"message": "Usuário criado com sucesso",
|
||||
"user": {
|
||||
"id": "4df05930-f96b-4e0c-bccd-2254b2341c61",
|
||||
"username": "persistence-test"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### PostgreSQL Record
|
||||
```sql
|
||||
SELECT username, email, "createdAt" FROM "User" WHERE username='persistence-test';
|
||||
|
||||
username | email | createdAt
|
||||
-------------------+------------------------------------+---------------
|
||||
persistence-test | persistence-test@1000apps.local | 2026-06-27 14:10:43.235
|
||||
```
|
||||
|
||||
### Services Running
|
||||
- ✅ 1000apps-app (Next.js) - porta 3000
|
||||
- ✅ 1000apps-postgres (PostgreSQL 15) - porta 5432
|
||||
- ✅ coolify-proxy (Traefik) - roteamento HTTPS
|
||||
|
||||
### URLs
|
||||
- **Production**: https://1000apps.fluxtechnologies.uk
|
||||
- **Signup**: /api/auth/signup (POST)
|
||||
- **Login**: /signin (web form com CSRF)
|
||||
|
||||
### Environment Variables Active
|
||||
- DATABASE_URL → postgresql://1000apps:***@1000apps-postgres:5432/1000apps
|
||||
- NEXTAUTH_SECRET → configurado (base64 32 bytes)
|
||||
- NEXTAUTH_URL → https://1000apps.fluxtechnologies.uk
|
||||
Reference in New Issue
Block a user