Skip to content

Commit e0c374c

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 125dde1 commit e0c374c

4 files changed

Lines changed: 38 additions & 3 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@
1414
"workspaceFolder": "/app",
1515

1616
// Features to add to the dev container. More info: https://containers.dev/features.
17-
"features": {},
17+
"features": {
18+
"ghcr.io/devcontainers/features/node:1": {
19+
"version": "22"
20+
}
21+
},
1822

1923
// Use 'forwardPorts' to make a list of ports inside the container available locally.
20-
"forwardPorts": [],
24+
"forwardPorts": [5173],
2125

2226
// Use 'postCreateCommand' to run commands after the container is created.
23-
"postCreateCommand": "dotnet restore && dotnet build",
27+
"postCreateCommand": "git submodule update --init --recursive && dotnet restore && dotnet build && cd react-interview && npm install",
2428

2529
// Configure tool-specific properties.
2630
"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 in .NET 8. This project is currently being used for .NET full-stack candidates.
66

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

922
The project comes with a devcontainer that provisions a SQL Server database. If you are not going to use the devcontainer, make sure to provision a SQL Server database and
@@ -27,6 +40,20 @@ To run tests:
2740

2841
`dotnet test`
2942

43+
## Frontend Challenge
44+
45+
This repo includes the [react-interview](https://github.com/crunchloop/react-interview) project as a git submodule in the `react-interview/` directory.
46+
47+
To run the frontend:
48+
49+
```bash
50+
cd react-interview
51+
npm install
52+
npm run dev
53+
```
54+
55+
The React app will be available at http://localhost:5173.
56+
3057
Check integration tests at: (https://github.com/crunchloop/interview-tests)
3158

3259
## Contact

react-interview

Submodule react-interview added at 93510ca

0 commit comments

Comments
 (0)