this is a database written in SQLite that is intended to integrate with a fastAPI backend for the Nsight Chemformations Project. The database is SQLite and is connected via SQLModel and SQLAlchemy.
- Python 3.10 or higher
-
Clone the repository:
git clone https://github.com/D-Colak/Nsight-DB.git
-
Navigate to the project directory:
cd Nsight-DB -
Create a virtual environment (optional but recommended):
python -m venv .venv
For MacOS/Linux:
source .venv/bin/activateFor Windows:
.venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
-
Start the FastAPI server:
uvicorn main:app --reload
-
Access the endpoints and documentation at http://localhost:8000/docs
-
View the database in real time with this command:
sqlite_web database.db