-
Ensure you have Python and PostgreSQL installed on your system. You can download Python here and PostgreSQL here.
-
Navigate to .\data-management-system\data-management-backend
-
Install the required Python packages by running the following command in your terminal:
pip install -r requirements.txt
-
Edit dbconfig.yaml and config.yaml with your Postgres username, password (and host if necessary)
-
Run the
db_init.pyscript to initialize your database. In your terminal, navigate to the directory containingdb_init.pyand run:python db_init.py
-
Start the backend server:
uvicorn main:app --reload
-
Access API Documentation on
http://localhost:8000/docs
-
Ensure you have Node.js and npm installed on your system. You can download Node.js and npm here.
-
Navigate to the frontend directory:
cd .\data-management-System\data-management-frontend
-
Install the required packages by running:
npm install
-
Start the frontend server:
npm run dev
Visit http://localhost:3000 in your browser to view the application.