Provides detailed IPO info including company details, pricing, dates, and performance metrics. Features user auth, admin dashboard, and downloadable PDFs.
- Python/Django
- Django REST Framework
- PostgreSQL
- HTML/CSS/JavaScript
- Bootstrap
- PowerShell
- Shell
- Detailed IPO information including company details, pricing, dates, and performance metrics.
- User authentication.
- Admin dashboard.
- Downloadable PDFs.
- Python 3.x
- PostgreSQL
- Git
- Clone the repository:
git clone https://github.com/sangram18-ghose/IPO-Web-Application-REST-API-Development.git cd IPO-Web-Application-REST-API-Development
-
Install PostgreSQL:
Make sure PostgreSQL is installed on your system. You can download it from the official PostgreSQL website.
-
Create a PostgreSQL Database and User:
Once PostgreSQL is installed, create a new database and a user for your Django application. You can do this using the PostgreSQL command-line interface (
psql
) or a graphical tool like pgAdmin.Open your terminal and run the following commands:
CREATE DATABASE bluestock;
CREATE USER daiyanalam WITH PASSWORD '12345';
ALTER ROLE daiyanalam SET client_encoding TO 'utf8';
ALTER ROLE daiyanalam SET default_transaction_isolation TO 'read committed';
ALTER ROLE daiyanalam SET timezone TO 'UTC';
GRANT ALL PRIVILEGES ON DATABASE bluestock TO daiyanalam;
- Install PostgreSQL Adapter for Python:
pip install psycopg2-binary
- Configure Django Settings:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'bluestock',
'USER': 'daiyanalam',
'PASSWORD': '12345',
'HOST': 'localhost',
'PORT': '5432',
}
}
- Apply Migrations: Run the following commands to apply migrations and start the server:
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
- 6. Video Guide