Skip to content

XubingLiang/React-Stock-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

React Stock API

Prerequisite:

  • NodeJS
  • Python 3
  • pip

update npm

$ npm install npm@latest -g

Install virtual env && Activate environment

$ sudo pip install virtualenv
$ virtualenv env
$ source env/bin/activate

install python package

$ pip install -r requirements.txt

migrate

$ cd stock
$ python manage.py makemigrations stock_api
$ python manage.py migrate

setup frond end

install dependencies for react

$ cd frontend
$ npm i
$ cd frontend
$ webpack

back to stock run the program

$ python manage.py runserver

unit test under stock/stock_api/tests.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published