Mohitbasnet / djrest

This is the rest api of a simple question answer app with JWT AUTHENTICATOIN

Home Page:https://mohitbasnet.pythonanywhere.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django RestFramework APP

This is django restframework project where i have build rest api for the creating, deleting, reading and reading questions and answers.

Installation

  1. Clone the repository to your local machine:

    • git clone <repository_url>
  2. Create a virtual environment and activate it:

    • pip install virtualenv
    • virtualenv envname
    • envname\scripts\activate # For Windows
    • source envname/bin/activate # For macOS/Linux
  3. Navigate to the project directory:

    • cd djrest
  4. Install project dependencies:

    • pip install -r requirements.txt
  5. Apply database migrations:

    • python manage.py migrate
  6. Run the development server:

    • python manage.py runserver

Features

  • Adding different answers and questions
  • Authentication and Authorization with JWTAUTHENTICATION
  • Class based API View and mixins
  • Viewsets and routers
  • Django REST auth
  • Database: SQLITE3

Tech Stack

  • Django
  • Django restframework
  • Python
  • Postgressql
  • Docker

Project Link

Contributing

Contributions to this project are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

About

This is the rest api of a simple question answer app with JWT AUTHENTICATOIN

https://mohitbasnet.pythonanywhere.com/


Languages

Language:CSS 47.5%Language:JavaScript 46.5%Language:Python 5.7%Language:Dockerfile 0.3%