- Create a Python virtual environment (venv)
pip install virtualenv
python -m venv venv
- Start virtual environment
source venv/bin/activate
- Create a Python virtual environment (venv)
pip install virtualenv
python -m venv venv
- Activate python vevn & install packages/libraries required
venv\Scripts\activate
pip install -r requirements.txt
- Activate python venv
venv\Scripts\activate
- Start REST API
python rest_api.py
View SQLite Database:
sqlite3 app.db
To view database schema for all tables (in sqlite CLI):
.schema
To view schema for specific table:
.schema TABLE_NAME