Giter VIP home page Giter VIP logo

quora-app's Introduction

Quora-Inspired Project

This project is a simplified version of Quora, where users can post questions, answer questions, and interact with other users' content. https://quoroapp.azurewebsites.net/

Table of Contents

Getting Started

Prerequisites

  • Python (3.6 or higher)
  • Django
  • Django Forms (used for user registration and login)
  • Your preferred database (e.g., SQLite, PostgreSQL)

Installation

  1. Clone the repository:

    git clone https://github.com/Pallavi-Pandey/Quora-App.git
  2. Navigate to the project directory:

    cd quora_project
  3. Create a virtual environment:

    python -m venv venv
  4. Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS and Linux:

      source venv/bin/activate
  5. Install the project dependencies:

    pip install -r requirements.txt
  6. Apply database migrations:

    python manage.py migrate
  7. Start the development server:

    python manage.py runserver

The project should now be accessible at http://localhost:8000/ in your web browser.

Usage

User Registration

  • Visit the registration page at /register/.
  • Fill in the registration form with a username, password, and confirmation.
  • Click the "Register" button to create your account.

User Login

  • Visit the login page at /login/.
  • Enter your registered username and password.
  • Click the "Login" button to access your account.

Posting Questions

  • Log in to your account.
  • Visit the homepage.
  • Click the "Ask a Question" button.
  • Fill in the question form and click "Ask Question."

Answering Questions

  • Log in to your account.
  • Click on a question you want to answer.
  • Scroll down to the answer form.
  • Fill in your answer and click "Answer."

Logging Out

  • Click the "Logout" link in the navigation bar.

Project Structure

  • quora_app/ - Django app directory containing views, models, templates, and forms.
  • templates/ - HTML templates for the project.
  • static/ - Static files (CSS, JavaScript, etc.).
  • quora_project/ - Project-level settings and configuration.
  • manage.py - Django management script.
  • requirements.txt - List of project dependencies.

Built With

  • Django - Web framework
  • HTML/CSS - Front-end presentation
  • Python - Programming language

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your branch to your fork.
  5. Create a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

quora-app's People

Contributors

pallavi-pandey avatar

Watchers

 avatar

Forkers

gokul-1998

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.