Skip to content

datalab-api/flask_api_chicoutimi_project_student

Repository files navigation

Title

Abstract:xxx

Papar Information

Install & Dependence

  • python3
  • Flask
  • Sqlite

Use

  • for install dependancies
    pip3 install -r requiremments.txt
    
  • for init database
    python3 model.py
    
  • for create var env
    export FLASK_DEBUG=1
    export FLASK_ENV=development  
    

Description Model API

ce table il epermet

CREATE TABLE order (    
    id INTEGER PRIMARY KEY ,
    total_price INT NOT NULL,
    email VARCHAR(255) NOT NULL,
    credit_card VARCHAR(255) NOT,
    credit_card_   TEXT,
    shipping_information VARCHAR(255) ,
    paid BOOLEAN ,
    transactions VARCHAR(255) NOT NULL,
    shipping_price  INT NOT NULL,
    quantity INT NOT NULL,
    product_id VARCHAR(255) NOT NULL,
    FOREIGN KEY (id_product) REFERENCES product(id)
)  

create dockerfile and add new args

References

License

Citing

If you use xxx,please use the following BibTeX entry.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published