Skip to content

A simple ITR(Information Retrievel System) using DRF(Django Rest Framework) and JS

Notifications You must be signed in to change notification settings

Himanshu372/Search-Box

Repository files navigation

Search-Box

A simple ITR(Information Retrievel System) using DRF(Django Rest Framework) and JS

Steps to run the code

1

Clone the repo using the command
git clone https://github.com/Himanshu372/Search-Box.git
on your local system

2

The application is contaierized.
After cloning the repo, run the following command at the docker-compose-local.yml file level
docker-compose -f docker-compose-local.yml up web
This will start http-server and Django server at 8080 and 8000 ports respectively

3

By accessing localhost:8080 on host machine, you should be able to see this UI



4

Executing custom management command
Keep the text data file at the level of manage.py and execute the command
python manage.py populate_db --filename
From the file database will get populated

5

Executing tests
For executing tests, use the following command at the 'backend' directory level inside the repo
./manage.py test backend.tests.{test_filename}

About

A simple ITR(Information Retrievel System) using DRF(Django Rest Framework) and JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published