Giter Site home page Giter Site logo

aqueelahmedv / questx Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 2.0 498 KB

Netropolis Hackathon Submission

Home Page: https://questx.onrender.com

License: MIT License

Python 9.52% Shell 0.04% CSS 0.07% TypeScript 27.74% HTML 0.46% JavaScript 0.15% Jupyter Notebook 62.02%
django django-rest-framework pinecone rag react reactjs tailwindcss vectordb

questx's Introduction

Questx App (Netropolis Hackathon Submission)

Stack

  • React - A JavaScript library for building user interfaces.
  • Django - Django makes it easier to build better web apps more quickly and with less code.
  • Vite - Next Generation Frontend Tooling
  • Typescript - JavaScript with syntax for types.

Project structure

$PROJECT_ROOT
│   
├── web # backend file
│   
├── frontend # React files
│   
├── web/templates # Django Templates
│   
├── web/static-dev # Django Static Files

Hosted Website

  • Website Hosted on this link
  • Can have lag upto 1 minute as it is hosted on free tier

For Backend

  • Clone Repo

  • Create Virtual Environment for Python

python -m virtualenv venv
  • Activate Virtual Environment (powershell)
.\venv\Scripts\activate.ps1

NOTE: Set-ExecutionPolicy Unrestricted -Scope CurrentUser

  • Install Dependencies
pip install -r requirements.txt

NOTE: To Install Latest Dependencies run command
pip install -r required.txt

  • Install Dependencies (For Poetry)
poetry install
  • Setup Backend Environment Variables

Download the .env file from this link and Paste the .env file inside web/

  • Make Migrations
cd web
python manage.py makemigrations
python manage.py migrate --run-syncdb
  • Run Server
python manage.py runserver

For Frontend

  • Install Dependencies
cd frontend/
yarn install
  • Run Vite
yarn dev

NOTE: To Use Django & React in With hot reload in Django Templates Run:

cd web/
python manage.py runserver

and

cd frontend/
yarn dev

questx's People

Contributors

aqueelahmedv avatar devadath-k avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.