Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fullstack.web

Here is a clean README.md section that clearly explains how to start your Flask JSON full-stack project with separate backend & frontend 👇 (Formatted so you can copy directly to GitHub)


🚀 How to Run the Project

This project consists of two parts:

  • Backend: Flask (JSON API)
  • Frontend: JavaScript (Node / npm)

You need to run them in two separate terminals.


🔧 Backend Setup (Flask)

  1. Open Terminal 1
  2. Navigate to the backend folder:
cd webapp-flask-json/backend
  1. Activate the virtual environment:
  • Windows
venv\Scripts\activate
  • macOS / Linux
source venv/bin/activate
  1. Set the Flask app:
  • Windows (CMD)
set FLASK_APP=app.py
  • Windows (PowerShell)
$env:FLASK_APP="app.py"
  • macOS / Linux
export FLASK_APP=app.py
  1. Run the Flask server:
flask run

➡️ Backend will run at:

http://127.0.0.1:5000/

🎨 Frontend Setup

  1. Open Terminal 2
  2. Navigate to the frontend folder:
cd webapp-flask-json/frontend
  1. Install dependencies (first time only):
npm install
  1. Start the frontend development server:
npm run dev

➡️ Frontend will run at:

http://localhost:5173/

About

" This is my fullstack frontend/backend using Django/Jinja, Input Friends data using (Python/JavaScript) "

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages