Sitelet https://web.archive.org/web/20201210155122/https://github.com/Jiangyiqun/fullstack_tutorial
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

FullStack Tutorial

  • Author: Jack Jiang
  • Date: Jul. 2019

In this fullstack tutorial, I will implement a simple CRUD App, including:


Create Frontend from scratch

Prerequisite

Create React App

npx create-react-app frontend     # create basic react app
cd frontend
npm install --save reactstrap     # install essitial modules

Create Backend from scratch

Prerequisite

Create Flask App

mkdir backend
cd backend
python3 -m venv python_modules          # create python environment
source ./python_modules/bin/activate    # activate python environment
pip install flask flask-cors     		# install essitial modules
python -m pip freeze > package.txt		# save dependencies to package.txt
deactivate                              # deactivate python environment

Alternatively, you could use ppm (no available for Windows)

mkdir backend
cd backend
ppm install
ppm install flask flask-cors           # install essitial modules
You can’t perform that action at this time.