A comprehensive training course covering JavaScript/TypeScript, React, Node.js, databases, and DevOps. Each topic has its own dedicated project structure with tasks, solutions, and tests.
node.js-pre-training-practice/
├── JS-TS/ # JavaScript/TypeScript fundamentals
│ ├── tasks/ # Task descriptions
│ └── solutions/ # Your implementations
├── React-CSS/
│ └── react-todo-app/ # Complete React application with TypeScript
│ ├── src/solutions/ # React component implementations
│ ├── tasks/ # React task descriptions
│ └── tests/ # React component tests
├── Node-Express-Nest/ # Backend development
│ ├── tasks/ # Node.js Express.js and NestJS tasks
│ │ └── node/ # Node.js specific tasks
│ │ ├── express/ # Express.js tasks
│ │ └── nest/ # NestJS tasks
│ └── solutions/ # Backend implementations
│ └── node/ # Node.js specific solutions
│ ├── express/ # Express.js solutions
│ └── nest/ # NestJS solutions
├── DB-NoSQL/ # Database queries
│ ├── tasks/ # SQL and MongoDB tasks
│ └── solutions/ # Database solutions
├── Docker-Git/ # DevOps and version control
│ ├── tasks/ # Docker and Git tasks
│ └── solutions/ # Infrastructure solutions
└── tests/ # Test files for all topics
-
JS-TS: Start with JavaScript/TypeScript fundamentals
- Basic data structures, functions, and ToDo logic
- Complete all 10 tasks in
JS-TS/tasks/
-
React-CSS: Build the frontend application
- Navigate to
React-CSS/react-todo-app/ - Complete React component tasks with TypeScript
- Run
npm startto see your components in action - Run
npm testto test your implementations
- Navigate to
-
Node-Express-Nest: Backend development
- Express.js tasks for API endpoints
- NestJS tasks for advanced backend patterns
- Complete all 10 tasks in
Node-Express-Nest/tasks/
-
DB-NoSQL: Database operations
- SQL queries for relational databases
- MongoDB operations for NoSQL
- Complete all 10 tasks in
DB-NoSQL/tasks/
-
Docker-Git: DevOps and deployment
- Containerization with Docker
- Version control with Git
- Complete all 10 tasks in
Docker-Git/tasks/
# Test all topics
npm test
# Test specific topics
npm run test:js-ts
npm run test:docker-git
npm run test:db-nosqlcd React-CSS/react-todo-app
npm test- Read the Task: Open the corresponding
.mdxfile in thetasks/folder - Implement Solution: Create your solution in the
solutions/folder - Test Your Code: Run the appropriate test command
- Iterate: Fix issues and improve your solution
- Study the Task: Read the task description in
React-CSS/react-todo-app/tasks/ - Implement Component: Create your component in
src/solutions/ - Test: Run
npm testto verify your implementation - View in Browser: Run
npm startand navigate to the task page
- TypeScript: Full type safety
- React Router: Navigation between tasks
- Modern UI: Clean, responsive interface
- Live Preview: See your components in real-time
- Comprehensive Testing: Jest + React Testing Library
- Jest: Fast, reliable test runner
- Coverage Reports: Track your progress
- Watch Mode: Automatic test re-runs
- Isolated Tests: Each topic has dedicated test files
- Hot Reload: Instant feedback in React app
- TypeScript: IntelliSense and error checking
- ESLint: Code quality enforcement
- Git Integration: Version control ready
- Keep solutions in the
solutions/folders - Don't modify
tasks/files directly - Use meaningful commit messages
- Test your code before committing
- Follow TypeScript best practices
- Use functional components with hooks
- Implement proper error handling
- Write comprehensive tests
- Commit frequently with clear messages
- Use branches for experiments
- Don't commit
node_modules/or.envfiles - Push your complete solution for review
- Tests Failing: Check that your solution exports match the expected format
- React App Not Starting: Ensure all dependencies are installed
- TypeScript Errors: Check your type definitions and imports
- Git Issues: Make sure you're not committing sensitive files
- Read task descriptions carefully
- Check the test files for expected output format
- Use the provided examples as guides
- Test your solutions incrementally
After completing all tasks:
- Review Your Code: Ensure all solutions work correctly
- Run All Tests: Verify everything passes
- Documentation: Add comments to complex solutions
- Share Your Work: Push to your repository and share the link
Good luck and happy coding! 🚀