create-nene 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,59 @@
1
+ #!/usr/bin/env bash
2
+ # dev.sh - Start development servers and show ready message
3
+
4
+ # Colors
5
+ CYAN='\033[0;36m'
6
+ GREEN='\033[0;32m'
7
+ BOLD='\033[1m'
8
+ DIM='\033[2m'
9
+ NC='\033[0m' # No Color
10
+
11
+ # Start turbo in background
12
+ turbo run dev &
13
+ TURBO_PID=$!
14
+
15
+ # Wait for servers to be ready
16
+ check_server() {
17
+ local url=$1
18
+ local max_attempts=60
19
+ local attempt=0
20
+ while [ $attempt -lt $max_attempts ]; do
21
+ if curl -s -o /dev/null -w '' "$url" 2>/dev/null; then
22
+ return 0
23
+ fi
24
+ sleep 0.5
25
+ attempt=$((attempt + 1))
26
+ done
27
+ return 1
28
+ }
29
+
30
+ # Wait for both servers
31
+ WEB_READY=false
32
+ API_READY=false
33
+
34
+ for i in $(seq 1 60); do
35
+ if [ "$WEB_READY" = false ] && curl -s -o /dev/null http://localhost:3000 2>/dev/null; then
36
+ WEB_READY=true
37
+ fi
38
+ if [ "$API_READY" = false ] && curl -s -o /dev/null http://localhost:4000/api/health 2>/dev/null; then
39
+ API_READY=true
40
+ fi
41
+ if [ "$WEB_READY" = true ] && [ "$API_READY" = true ]; then
42
+ break
43
+ fi
44
+ sleep 0.5
45
+ done
46
+
47
+ # Print ready banner
48
+ echo ""
49
+ echo ""
50
+ echo -e " ${GREEN}${BOLD}✓ All servers ready!${NC}"
51
+ echo ""
52
+ echo -e " ${CYAN}Frontend${NC} → ${BOLD}http://localhost:3000${NC}"
53
+ echo -e " ${CYAN}Backend${NC} → ${BOLD}http://localhost:4000${NC}"
54
+ echo ""
55
+ echo -e " ${DIM}Open http://localhost:3000 in your browser to get started.${NC}"
56
+ echo ""
57
+
58
+ # Wait for turbo to exit (keeps script alive)
59
+ wait $TURBO_PID
@@ -1,40 +0,0 @@
1
- # Project Progress
2
-
3
- This document tracks the development progress for AI agents and developers.
4
-
5
- ## Completed
6
-
7
- - [x] Project scaffolding with Turborepo
8
- - [x] Next.js frontend setup
9
- - [x] NestJS backend setup
10
- - [x] Shared package for types and constants
11
- - [x] Health check endpoint
12
- - [x] Basic CORS configuration
13
- - [x] Request validation with class-validator
14
-
15
- ## In Progress
16
-
17
- - [ ] Database integration
18
- - [ ] Authentication system
19
- - [ ] User management
20
-
21
- ## Planned
22
-
23
- - [ ] API documentation (Swagger)
24
- - [ ] Unit tests
25
- - [ ] E2E tests
26
- - [ ] CI/CD pipeline
27
- - [ ] Docker setup
28
- - [ ] Production deployment
29
-
30
- ## Known Issues
31
-
32
- None at this time.
33
-
34
- ## Notes for AI Agents
35
-
36
- When making changes:
37
- 1. Check this file for current status
38
- 2. Update PROGRESS.md after completing tasks
39
- 3. Follow the patterns in ARCHITECTURE.md
40
- 4. Keep API.md updated with new endpoints