MCPcopy Index your code
hub / github.com/epicweb-dev/full-stack-foundations

github.com/epicweb-dev/full-stack-foundations @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
1,748 symbols 5,446 edges 1,675 files 1 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🔭 Full Stack Foundations

Learn the foundational tools and skills of building web applications

In this workshop we'll go through exercises in a real world app that will
help you learn some key concepts for building web applications.

<a alt="Epic Web logo with the words Deployed Version" href="https://foundations.epicweb.dev/"

<img
  width="300px"
  src="https://github-production-user-asset-6210df.s3.amazonaws.com/1500684/254000390-447a3559-e7b9-4918-947a-1b326d239771.png"
/>


Build Status GPL 3.0 License Code of Conduct

Prerequisites

System Requirements

  • git v2.18 or greater
  • NodeJS v20 or greater
  • npm v8 or greater

All of these must be available in your PATH. To verify things are set up properly, you can run this:

git --version
node --version
npm --version

If you have trouble with any of these, learn more about the PATH environment variable and how to fix it here for windows or mac/linux.

Setup

Use the Epic Workshop CLI to get this setup:

```sh nonumber npx --yes epicshop@latest add full-stack-foundations


If you experience errors here, please open [an issue][issue] with as many
details as you can offer.

## Exercises

You'll find all the exercises in the `exercises` directory. The structure of the
workshop apps is described below, but most of the time you should be able to
simply run the app and navigate around the different exercises using the
application (there are even buttons to open the right exercise file right in
your editor).

The purpose of the exercise is **not** for you to work through all the material.
It's intended to get your brain thinking about the right questions to ask me as
_I_ walk through the material.

## Running the app

To get the app up and running (and really see if it worked), run:

```shell
npm start

Now open your browser to the address that's logged out for you and you're good to get started!

Running the tests

The test script in the package.json runs the tests on the solutions (these should all pass). To run the tests against your own work, you simply open the problem page and click the "Test" tab.

Launching your editor

The application has several buttons which will launch your editor to the right file. There are a lot of files in this workshop so you'll be using this feature a lot to get to the right place at the right time.

This should just work™️ (it looks at your currently running processes and chooses the editor based on that). If it doesn't guess correctly, create a .env file in the root of this project and add an environment variable called EPICSHOP_EDITOR with the value being set to the path to your editor's executable. For example, if you're using VS Code on Windows, you'd add this to your .env file:

EPICSHOP_EDITOR='"C:\Program Files\Microsoft VS Code\bin\code.cmd"'

Make certain that if the path includes spaces that you wrap the path in quotes as above (note the use of single quotes wrapping the double quotes!).

The value of EPICSHOP_EDITOR should be the command that you would run in your terminal to open your editor from the command line. This means, the first thing should be the path to the executable for your editor (or the command if you have one in your PATH). So you may be able to get away with doing something as simple as this:

EPICSHOP_EDITOR=code

Exercises

  • exercises/*.*/README.md: Exercise background information
  • exercises/*.*/*.problem.*/README.*.md: Problem Instructions
  • exercises/*.*/*.problem.*/*.tsx: Exercise with Emoji helpers 👈 You spend most of your time here.
  • exercises/*.*/*.solution.*/*.tsx: Solved version

The purpose of the exercise is not for you to work through all the material. It's intended to get your brain thinking about the right questions to ask me as I walk through the material.

Helpful Emoji 🐨 🦺 💰 📝 🦉 📜 💣 💪 🏁 👨‍💼 🚨 🧝‍♀️

Each exercise has comments in it to help you get through the exercise. These fun emoji characters are here to help you.

  • Kody the Koala 🐨 will tell you when there's something specific you should do
  • Lily the Life Jacket 🦺 will help you with any TypeScript-specific parts of the exercises
  • Marty the Money Bag 💰 will give you specific tips (and sometimes code) along the way
  • Nancy the Notepad 📝 will encourage you to take notes on what you're learning
  • Olivia the Owl 🦉 will give you useful tidbits/best practice notes
  • Dominic the Document 📜 will give you links to useful documentation
  • Barry the Bomb 💣 will be hanging around anywhere you need to blow stuff up (delete code)
  • Matthew the Muscle 💪 will indicate that you're working with an exercise
  • Chuck the Checkered Flag 🏁 will indicate that you're working with a final
  • Peter the Product Manager 👨‍💼 helps us know what our users want
  • Alfred the Alert 🚨 will occasionally show up in the test failures with potential explanations for why the tests are failing
  • Kellie the Co-worker 🧝‍♀️ your co-worker who sometimes does work ahead of your exercises

Workshop Feedback

Each exercise has an Elaboration and Feedback link. Please fill that out after the exercise and instruction.

At the end of the workshop, please go to this URL to give overall feedback. Thank you! https://kcd.im/rmx-workshop-ws-feedback

Extension points exported contracts — how you extend this code

TextareaProps (Interface)
(no doc)
exercises/04.mutations/04.solution.button-forms/app/components/ui/textarea.tsx
TextareaProps (Interface)
(no doc)
exercises/06.seo/04.solution.matches/app/components/ui/textarea.tsx
TextareaProps (Interface)
(no doc)
exercises/07.error-handling/04.problem.root-boundary/app/components/ui/textarea.tsx
TextareaProps (Interface)
(no doc)
exercises/05.scripting/01.solution.scripts/app/components/ui/textarea.tsx
InputProps (Interface)
(no doc)
exercises/04.mutations/04.solution.button-forms/app/components/ui/input.tsx
InputProps (Interface)
(no doc)
exercises/06.seo/04.solution.matches/app/components/ui/input.tsx
InputProps (Interface)
(no doc)
exercises/07.error-handling/04.problem.root-boundary/app/components/ui/input.tsx
InputProps (Interface)
(no doc)
exercises/05.scripting/01.solution.scripts/app/components/ui/input.tsx

Core symbols most depended-on inside this repo

rel
called by 9
epicshop/fix.js
here
called by 7
epicshop/fix.js
invariantResponse
called by 7
exercises/04.mutations/05.solution.intent/app/utils/misc.tsx
invariantResponse
called by 7
exercises/06.seo/04.solution.matches/app/utils/misc.tsx
invariantResponse
called by 7
exercises/06.seo/03.solution.dynamic/app/utils/misc.tsx
invariantResponse
called by 7
exercises/06.seo/01.solution.static/app/utils/misc.tsx
invariantResponse
called by 7
exercises/06.seo/01.problem.static/app/utils/misc.tsx
invariantResponse
called by 7
exercises/06.seo/04.problem.matches/app/utils/misc.tsx

Shape

Function 1,586
Interface 162

Languages

TypeScript100%

Modules by API surface

epicshop/fix.js16 symbols
exercises/07.error-handling/05.solution.not-found/app/root.tsx6 symbols
exercises/07.error-handling/05.problem.not-found/app/root.tsx6 symbols
exercises/07.error-handling/04.solution.root-boundary/app/root.tsx6 symbols
exercises/07.error-handling/05.solution.not-found/app/routes/users+/$username_+/notes.$noteId.tsx5 symbols
exercises/07.error-handling/05.problem.not-found/app/routes/users+/$username_+/notes.$noteId.tsx5 symbols
exercises/07.error-handling/04.solution.root-boundary/app/routes/users+/$username_+/notes.$noteId.tsx5 symbols
exercises/07.error-handling/04.problem.root-boundary/app/routes/users+/$username_+/notes.$noteId.tsx5 symbols
exercises/07.error-handling/04.problem.root-boundary/app/root.tsx5 symbols
exercises/07.error-handling/03.solution.error-bubbling/app/routes/users+/$username_+/notes.$noteId.tsx5 symbols
exercises/07.error-handling/05.solution.not-found/server/index.ts4 symbols
exercises/07.error-handling/05.solution.not-found/app/utils/misc.tsx4 symbols

For agents

$ claude mcp add full-stack-foundations \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact