Shop Registration System
Budget: ₹1,500 – ₹12,500 INR
Project Setup and Configuration:
Set up a new Django project using the django-admin command and create a virtual environment for the project. Configure the project settings, including database settings and static file configuration.
Shop Registration System:
Create a Django app named Shops to handle shop-related functionalities. Define a model named Shop within this app to store shop details such as name, latitude, and longitude. Implement a form for shops to register with their details, including latitude and longitude. Ensure proper validation for latitude and longitude inputs to maintain data integrity.
User Search Functionality:
Develop a user search feature where users can input their current latitude and longitude. Write a view to handle search requests, retrieve the user's location from the request, and calculate the distance between the user's location and each registered shop using a suitable method like the Haversine formula. Sort the shops based on distance and return the sorted list to the user.
Use DRF and an API doc for all the APIs
Set up a new Django project using the django-admin command and create a virtual environment for the project. Configure the project settings, including database settings and static file configuration.
Shop Registration System:
Create a Django app named Shops to handle shop-related functionalities. Define a model named Shop within this app to store shop details such as name, latitude, and longitude. Implement a form for shops to register with their details, including latitude and longitude. Ensure proper validation for latitude and longitude inputs to maintain data integrity.
User Search Functionality:
Develop a user search feature where users can input their current latitude and longitude. Write a view to handle search requests, retrieve the user's location from the request, and calculate the distance between the user's location and each registered shop using a suitable method like the Haversine formula. Sort the shops based on distance and return the sorted list to the user.
Use DRF and an API doc for all the APIs