Skip to content

johnkntran/front2back

Repository files navigation

front2back

A Docker template with a Node.js image on the frontend and a Python image on the backend for use as a starter for other apps.

Getting Started

Create an .env file and copy the contents of .env.example into it. Fill out the placeholder values with your own data.

  • To run all services, use docker-compose up --build --abort-on-container-exit --remove-orphans.
  • To shutdown the app after you're done (and remove all volumes created), use docker-compose down --remove-orphans --volumes.

If using this repo as a GitHub template, remember to rename all references to "front2back" or "f2b" to whatever your own app's name is.

See frontend or backend documentation for more details on how to choose your adventure on those specific stacks.

Visual Studio Code (Optional)

Open in Dev Containers

Instead of running docker-compose up in a separate process, you can run this project as a VS Code Dev Container.

Install the Dev Containers extension from the Extensions sidebar in VS Code.

Then open the Command Palette by typing Command + P on Mac (Control + P on Windows) and typing > Dev Containers: Reopen in Container, then choosing the first option. You can select whether to open the backend or frontend application first.

To switch between backend and frontend applications, open the Command Palette again and type > Dev Containers: Switch Container to switch to the other container.

Using The LLM CLI Tools

  • Run aider --model=claude-sonnet-4-5, aider --model=gpt-5, aider --model=gemini-2.5-pro, aider --model=xai/grok-4-0709 or aider --model=perplexity/sonar-reasoning to configure Aider.
  • Run aider <file1> <file2> <etc...> to start using Aider.
  • Use CTRL + C twice to quit.
  • Run cc "<question>" to use Claude Code.
  • Quits automatically after each statement.
  • Run codex "<question>" to use.
  • Use CTRL + C to quit.
  • Run gemini to use. Authenticate using the 2. Use Gemini API key option.
  • Use CTRL + C twice to quit.

Agentic IDEs, CLIs, and Browsers

I personally find myself using Windsurf or Void as my primary IDE, with VS Code as a fallback to run Dev Containers. I've heard good things about Zed (by the same guy who created Atom) but haven't used it. There's also Trae, created by ByteDance (who makes TikTok) that I don't know much about. There's Kiro which might be promising, and Jules looks incredible!

Some other mentions are Warp, Amp, OpenCode, Factory, Tabnine, AugmentCode, Continue, Forge Code, Goose, and many others.

As for browsers, try Atlas or Comet.

About

A Docker template with a Node.js image on the frontend and a Python image on the backend for use as a starter for other apps, with a heavy dose of agentic tooling configured.

Resources

License

Stars

Watchers

Forks

Contributors