This project uses Node.js v20.19.4 and PostgreSQL as the database.
Follow the steps below to set up your personal PostgreSQL server and configure the API.
-Node.js v20.19.4
-npm v20.19.4
-PostgreSQL (latest stable version recommended)
-pgAdmin (optional, for GUI management)
- Install PostgreSQL from official downloads.
- Create a new local server using pgAdmin or CLI.
- During setup, choose a username and password (e.g.,
postgres/yourpassword). - Create a new database for your project:
CREATE DATABASE my_project_db;
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'my_project_db', # Database name 'USER': 'postgres', # Your PostgreSQL username 'PASSWORD': 'yourpassword', # Your PostgreSQL password 'HOST': 'localhost', # Or server IP 'PORT': '5432', # Default PostgreSQL port } }
npm install
python manage.py runserver