Skip to content

About the Tech Stack

Suvansh Rana edited this page Mar 29, 2020 · 2 revisions

DevXplore uses Materialize CSS as its CSS library, Django as its web framework, Google custom search for search.

Further in this wiki, we will explain to you how we have implemented the above technologies in our project.

Materialize CSS

We are using Materialize CSS in our project by importing CDN in the base.html file.

Django

We used Django because of its scalability and simplicity.

Important files:

  • search/helpers.py: contains some helper functions which help in searching the web using google custom search.

  • search/templates/search/base.html: The base HTML file for the project, it contains the link to Materialize CSS stylesheets and the local stylesheets.

  • search/templates/search/index.html: extends base.html and contains the search form and the search results container.

  • static/index.js: contains all the custom JS and initializations required by Materialize CSS.

  • static/index.css: contains all the custom CSS.

Google custom Search

The python object resource, through which all the interactions with Custom Search API occurs is present in the perform_search function in helpers.py. Currently, the Custom Search API only allows making 100 requests per day.

Clone this wiki locally