Skip to content

A fullstack log management system in which a registered user can execute pre-defined queries.

Notifications You must be signed in to change notification settings

LoukasPap/log-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log Management System using PostgreSQL🐘

This is the first project for the MSc course Database Management System (M149) of the winter semester. The pronunciation can be found in the M149-Project01.pdf. The second project can be found here.

🛠️ Backend - FastAPI

Inside the backend/ directory:

Activate virtual environment:

$ source venv/Scripts/activate

Install requirements:

$ pip install -r requirements.txt

To start backend server:

$ uvicorn main:app --reload

To connect to your database, create an .env file with the properties of your database, like this:

export DB_HOST=<host> (probably, localhost)
export DB_PORT=<port> (probably, 5432)
export DB_USERNAME=<username>
export DB_PASSWORD=<password>
export DB_NAME=LogDB

🎨 Frontend - React

Chakra UI was used as the component library

In the frontend/ directory:

To run the app in development mode:

$ npm run start

Open http://localhost:3000 to view it in your browser.

🗄️ Database - PostgreSQL

Inside the /database directory:

Almost all the SQL queries are included.

⚠️ Make sure to first execute the stored functions in the database before running the web application

The EntityRelation diagram is provided, accompanied with comments.

ER_diagram

About

A fullstack log management system in which a registered user can execute pre-defined queries.

Topics

Resources

Stars

Watchers

Forks