Skip to content

Commit f18f35f

Browse files
darrillagaclaude
andcommitted
Add react-interview as git submodule for unified full-stack interview
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f0b4bc8 commit f18f35f

File tree

4 files changed

+36
-2
lines changed

4 files changed

+36
-2
lines changed

.devcontainer/devcontainer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@
2626
},
2727
"ghcr.io/devcontainers/features/git:1": {
2828
"version": "latest"
29+
},
30+
"ghcr.io/devcontainers/features/node:1": {
31+
"version": "22"
2932
}
3033
},
3134

3235
// Use 'forwardPorts' to make a list of ports inside the container available locally.
33-
"forwardPorts": [8000],
36+
"forwardPorts": [8000, 5173],
3437

3538
// Uncomment the next line if you want start specific services in your Docker Compose config.
3639
// "runServices": [],
@@ -39,7 +42,7 @@
3942
// "shutdownAction": "none",
4043

4144
// Install dependencies after container is created
42-
"postCreateCommand": "pip install poetry && poetry install",
45+
"postCreateCommand": "git submodule update --init --recursive && pip install poetry && poetry install && cd react-interview && npm install",
4346

4447
// Configure tool-specific properties.
4548
"customizations": {

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "react-interview"]
2+
path = react-interview
3+
url = git@github.com:crunchloop/react-interview.git

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44

55
This is a simple Todo List API built with FastAPI and Python 3.13+. This project is currently being used for Python full-stack candidates.
66

7+
## Getting Started
8+
9+
```bash
10+
git clone --recurse-submodules git@github.com:crunchloop/python-interview.git
11+
cd python-interview
12+
```
13+
14+
If you already cloned without `--recurse-submodules`, run:
15+
16+
```bash
17+
git submodule update --init --recursive
18+
```
19+
720
## Features
821

922
- **FastAPI** - Modern, fast web framework for building APIs
@@ -157,6 +170,20 @@ This project uses modern Python development tools:
157170

158171
This application uses in-memory storage (Python lists/dicts). Data will be lost when the application restarts. This is intentional for simplicity and is suitable for interview/demo purposes.
159172

173+
## Frontend Challenge
174+
175+
This repo includes the [react-interview](https://github.com/crunchloop/react-interview) project as a git submodule in the `react-interview/` directory.
176+
177+
To run the frontend:
178+
179+
```bash
180+
cd react-interview
181+
npm install
182+
npm run dev
183+
```
184+
185+
The React app will be available at http://localhost:5173.
186+
160187
Check integration tests at: https://github.com/crunchloop/interview-tests
161188

162189
## Contact

react-interview

Submodule react-interview added at 93510ca

0 commit comments

Comments
 (0)