FullStackTemplate

A Template for Creating a Full Stack Web Application with Python, NPM, Webpack and React

Github星跟蹤圖

Creating a Full Stack Web Application with Python, NPM, Webpack and React

This project shows you how to build a basic web application using popular web technologies
like NPM, Webpack, React and Python.

Let's Build It Together!

You can find a walkthrough of how to build this application from scratch on
my blog.

Installing and Running

After cloning this repository to your computer, you need to perform the following steps to be able to run it:

  1. Ensure you have npm, python and pip installed on your machine.
  2. Go to the fullstack_template/static directory and execute "npm install".
    This will download and install the dependencies listed in package.json.
  3. In the static directory, start the npm watcher to build the front end code. "npm run watch".
  4. Create a python virtualenv.
  5. Install flask (pip install flask).
  6. Start the server. Go to the server directory and do "python server.py".

Jumping to Different Completion Points

You can use the git tags to jump to different completion points in the code.

Basic Setup

If you go to the BASIC_E2E_TEMPLATE
tag, you will find the application as it will be when you've followed the first blog post to the end.
You will have a basic web application with a Python backend and a React front-end, but they won't be passing
any data between each other yet.

A Simple Website

If you go to the SIMPLE_WEBSITE tag,
you get a simple website with a button requesting info from python and displaying the result.
It has a nice design, as a background image and CSS support has been added.

When you click the button, 'Hello' will be displayed in a random European language.

This is what it looks like:
Simple Website

主要指標

概覽
名稱與所有者angineering/FullStackTemplate
主編程語言JavaScript
編程語言Python (語言數: 4)
平台
許可證
所有者活动
創建於2017-06-21 17:13:00
推送於2017-11-13 22:47:37
最后一次提交2017-11-13 22:42:26
發布數3
最新版本名稱SIMPLE_WEBSITE (發布於 2017-06-26 22:43:41)
第一版名稱BASIC_TEMPLATE (發布於 2017-06-21 12:02:00)
用户参与
星數232
關注者數14
派生數90
提交數32
已啟用問題?
問題數6
打開的問題數4
拉請求數0
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?