Skip to content

mayaname/flask_contacts

Repository files navigation

Flask Employee Directory

This is a bare-bones Flask Employee Directory CRUD application that uses SQLite3 and Flask-SQLAlchemy for data management. There is no user authentication. Form processing is done with Flask-WTF and traditional HTML form tags. The app only uses the default browser styles. Did I mention that this was a bare-bones app!

Setup

Create Virtual Environment

 python3 -m venv venv

Install Dependence

 pip install -r requirements.txt 

Using Sample Data

You can use manage.db to create and populate the database with sample employee contact data from the employees.cvs file.

Unit Testing

I updated the app to add unit testing using pytest and BeautifulSoup. I did not find a lot of info on unit testing Flask app, so here are the references I used:

About

Simple Flask CRUD app using SQLite3, Flask-SQLAlchemy, and Flask-WTF

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published