Shuaib-ux / dropshipify-api-main

a dropshipping platform that allow students to easily create and populate an online store using an API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to world of dropshipify. its an api nothing cool

For endpoints go here

For tasks and api to do go here

Environment set ups

Create Virtual environment in python

Mac

$ python3 -m venv venv

Windows

$ py -3 -m venv venv

To install all require libraries run

$ pip3 install -r requirements.txt 

To Add newly installed libraries

$ pip freeze >requirements.txt
$ python3 -m pip freeze > requirements.txt

Activate virtual environment:

Windows

$ venv\Scripts\activate

Mac

source venv/bin/activate

Sometimes flask is confused and doesn't know what it wants, so tell it

$ export FLASK_APP=app.py

Commands to handle database migrations

$ flask db init    

$ flask db migrate -m 'add status'
$ flask db upgrade

About

a dropshipping platform that allow students to easily create and populate an online store using an API.


Languages

Language:Python 98.4%Language:C 0.7%Language:Vue 0.4%Language:JavaScript 0.2%Language:Mako 0.1%Language:HTML 0.1%Language:PowerShell 0.0%Language:CSS 0.0%Language:C++ 0.0%Language:Shell 0.0%Language:Assembly 0.0%Language:Batchfile 0.0%Language:Procfile 0.0%