Skip to content

My introduction to full-stack apps as part of a bootcamp.

Notifications You must be signed in to change notification settings

joshbraham/crm-app-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAMPLE FLASK MSSQL WEB APP

This is a sample Python project that uses Flask and MSSQL to build a web application.

(I stopped at level 3)

Prerequisite

Installation

  1. Clone the repository:
git clone https://github.com/daisuketanabe/flask_mssql_web_app.git
  1. Navigate to the project directory:
cd flask_mssql_web_app
  1. Create a virtual environment:
python -m venv venv

or

python3 -m venv venv
  1. Activate the virtual environment:
  • Windows:
venv\Scripts\activate.bat
  • Unix/Mac:
source venv/bin/activate
  1. Install dependencies:
python install.py
python3 install.py
  1. Create a database in MSSQL using DemoDB.sql file
  2. Update the database configuration in config.py with your MSSQL database details.

Usage

  1. Activate the virtual environment:
  • Windows: env\Scripts\activate.bat
  • Unix/Mac: source env/bin/activate
  1. Run the Flask app:
python app.py

or

python3 app.py
  1. Open your web browser and go to http://localhost:5000 to view the app.

Project Structure

  • app.py: Main Flask application file.
  • install.py: install dependencies.
  • config.py: Configuration file for the app, including database details
  • sample_config.py: Sample config.py file
  • DemoDB.sql: Sample MSSQL Dump file.
  • templates/: Directory containing HTML templates for the app.
  • README.md: This file.

Contribution

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b my-new-feature
  3. Make your changes and commit them: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request.

License

This project is licensed under the MIT License.

About

My introduction to full-stack apps as part of a bootcamp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published