The FAQs App is a self-service portal and central repository of information, designed to provide quick answers to frequently posed questions about a company's goods or services. Built with Django for the backend and React for the frontend, this app allows users to search through a categorized list of articles and FAQs, ensuring they find the information they need efficiently. The interface is styled with Material-UI for a polished look, and the app includes robust search functionality for easy navigation.
- Categorized FAQs: Browse FAQs by category to quickly find relevant information.
- Search Functionality: Search bar to filter articles and FAQs based on the search query.
- Material-UI Styling: A polished and responsive user interface.
- RESTful API: Built with Django Rest Framework for managing FAQs and articles.
- Frontend: React, Material-UI
- Backend: Django, Django Rest Framework
- Database: SQLite (for development), PostgreSQL (for production)
- Node.js and npm
- Python 3.8+
- Django 3.2+
- Git
-
Clone the repository:
git clone https://github.com/ajmalrasouli/faqs-app.git cd faqs-app -
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts�ctivate`
-
Install the required Python packages:
pip install -r requirements.txt
-
Apply the migrations:
python manage.py migrate
-
Create a superuser to access the Django admin:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
-
Navigate to the
frontenddirectory:cd frontend -
Install the required npm packages:
npm install
-
Start the React development server:
npm start
- Open your browser and go to
http://localhost:3000to view the React frontend. - Access the Django admin at
http://localhost:8000/adminto manage FAQs and articles.
- Use the search bar to filter FAQs and articles.
- Browse categories to find information on specific topics.
- Admin users can add, update, and delete FAQs and articles via the Django admin interface.
We welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Commit your changes and push the branch to your fork.
- Create a pull request with a detailed description of your changes.
This project is licensed under the MIT License. See the LICENSE file for details.