Skip to content

dawciobiel/node-js-python-html-css-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js, Python, HTML, CSS Example

This project demonstrates a basic integration of Node.js, Python, HTML, and CSS to build a simple web application with both frontend and backend capabilities.

Features

  • Frontend:
    Built with HTML and CSS to create a responsive and user-friendly interface.

  • Backend:

    • Node.js handles server-side operations and routes.
    • Python is used for additional processing, such as data analysis or machine learning.
  • Integration:
    Seamless communication between Node.js and Python using APIs or child processes.


Installation

Follow the steps below to run the project locally:

1. Clone the Repository

git clone https://github.com/dawciobiel/node-js-python-html-css-example.git
cd node-js-python-html-css-example

2. Install Dependencies

For Node.js:

Make sure you have Node.js installed. Run:

npm install

For Python:

Ensure you have Python 3.x installed. Install required Python packages:

pip install -r requirements.txt

Usage

1. Start the Backend

Run the Node.js server:

node server.js

2. Start the Python Script (if applicable)

Run the Python process for additional functionality:

python script.py

3. Access the Application

Open your browser and navigate to:

http://localhost:3000

Project Structure

node-js-python-html-css-example/
│
├── frontend/           # Contains HTML and CSS files
│   ├── index.html      # Main HTML file
│   └── styles.css      # CSS styles
│
├── backend/            # Node.js backend
│   ├── server.js       # Node.js server
│   └── routes/         # API routes
│
├── scripts/            # Python scripts
│   └── script.py       # Example Python script
│
├── package.json        # Node.js dependencies
├── requirements.txt    # Python dependencies
└── README.md           # Project documentation

Requirements

  • Node.js (v16 or higher)
  • Python (v3.x)
  • Browser (Chrome, Firefox, etc.)

License

This project is licensed under the MIT License.


About

Simple example of node-js/python/html/css electron

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published