Django Rest Framework version of the data project
-
Backend: Django
-
Frontend: Html, CSS
-
Database: PostgreSQL
-
Download dataset from here
-
Download all the files in your local computer
-
Cd to the directory where the downloaded files are located
-
Install all the dependencies from requirements.txt file
-
Create role and database in postgres from create_db.sql
-
Run below command in terminal to create tables.
python manage.py migrate
-
Run below command in terminal to load data from csv file.
python manage.py dataloader data_gov_maharashtra.csv
-
Run below command in terminal to run server.
python manage.py runserver
-
Open any browser and go to (http://127.0.0.1:8000/)
-
Delete database and role in postgres using drop_db.sql.