Coder Social home page Coder Social logo

crm-app-demo's Introduction

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.

crm-app-demo's People

Contributors

daisuketanabe avatar joshbraham avatar

Watchers

 avatar

crm-app-demo's Issues

Nicely Done ๐Ÿ‘

Level 2 achieved ๐Ÿ˜Š Well done.

Leave a comment to acknowledge that I received your submission.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.