Skip to content

Ramyadeveloper5/Retail-Insights-Sales-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TASK NAME : Retails Insights API By using Flask

BACKEND : Python - Flask 

DATABASE : Postgresql

TESTING : Postman

STEPS TO FOLLOW TO DEVELOP THE TASK

STEPS 1 : 
    Create a Virtual Environment with the name (venv)
    Activate the Environment

STEP 2 : Database Setup
    Create the Database in Postgresql
    Create the table
    Insert some Dummy Data 

STEP 3 : Flask Setup
    Install the Packages like flask, pandas, psycopg2, SQLAlchemy
    Create .env file for store all the environment values
    Create the Configure File for storing database values
    Create the new file(init) to Setup the Database  with SQLAlchemy
    Create the Sales Table Model with the new file(models)
    Create the routes.py file to write the api for two routes
        1. Summary routes
        2. Filter by the Product routes
    Create the flask file to the run Project : (python run.py)

STEP 4 : Testing in Postman
    

About

To Develop the Retail Insights Sales API Task By Using Flask

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published