Skip to content

siddhant-deshmukh/Dashboard-Country-Data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dashboard App (Still in progress)

Goal is to create a dashboard which will

Views

  • laptop size light blue theme laptop size light blue theme
  • desktop size dark theme desktop size dark theme
  • tablet size light blue theme tablet size light blue theme
  • phone size light blue theme phone size light blue theme
  • phone size grey theme phone size grey theme

To setup backend

  1. Create the .env file in root folder and the envrionment variables
    POSTGRES_CONNECT_URL="postgresql://siddhant:password@localhost:5432/world-data"
    ENVIRONMENT_TYPE="PROD"
    ALLOWED_ORIGIN_CLIENT_1="http://localhost:5173"
    ALLOWED_ORIGIN_CLIENT_2="http://localhost:5173"
    ALLOWED_ORIGIN_CLIENT_3="http://localhost:5173"
    ALLOWED_ORIGIN_CLIENT_4="http://localhost:5173"
    
  2. go to backend folder
    cd backend
    
  3. create virtual env (optional)
    • Insted of "./env" can write any path where the files will be stored
    python3 -m venv ./env 
    
  4. connect with the virtual environement (Only if the virtual env is created)
    source env/bin/activate
    
  5. install the requirement.txt packages
    pip install -r requirements.txt
    
  6. Run the server
    python main.py
    

About

This is a dashboard app made with D3.js, React.js, GraphQL, Flask, PostgreSQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published