Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World Full-Stack App

A minimal full-stack example: a Flask API backend and a React (Vite) frontend.

  • backend/ — single-file Flask app exposing GET /api/hello.
  • frontend/ — React + Vite single page that fetches and displays the message.

Running both servers

You need two terminals.

Terminal 1 — backend

python -m venv .venv
source .venv/bin/activate          # Windows: .venv\Scripts\activate
pip install -r backend/requirements.txt
cd backend
python app.py

Flask serves on http://localhost:5000.

Terminal 2 — frontend

cd frontend
npm install
npm run dev

Vite serves on http://localhost:5173 and proxies /api/* to the backend.

Open http://localhost:5173 in your browser — you should see "Hello from Flask".

See backend/README.md and frontend/README.md for more detail.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages