Code Monkey home page Code Monkey logo

blbook-graphene-django-ref's Introduction

Social Media Timeline with Django and Graphene

This project demonstrates how to build a social media timeline by integrating GraphQL with Python, utilizing the Graphene library and Django framework. It's designed as a practical example and reference.

Installation

First, clone the repository to your local machine:

git clone https://github.com/rubensoleao/blbook-graphene-django-ref.git
cd blbook-graphene-django-ref

Setting Up the Environment

Ensure you have Python 3.9 installed. We recommend using a virtual environment for better project isolation. To set up a virtual environment and install the required dependencies, follow these steps:

python3 -m venv venv                              # Create a virtual environment with Python 3.9
source venv/bin/activate                          # Activate the virtual environment on Unix/Linux
venv\Scripts\activate                             # Activate the virtual environment on Windows
pip install -r requirements/development.txt       # Install the project dependencies

Execution

To run the project locally and interact with the GraphQL API, follow these steps:

  1. Start the Django development server:

    python manage.py runserver
  2. Access the GraphQL interface at: http://localhost:8000/graphql

You can now execute GraphQL queries and mutations through this interface.

TODO

  • Refactor queries from the main schema to specific apps for better organization.
  • Address the issue where the admin portal's cache authentication overrides JWT token authentication.
  • Expand the test suite to cover more functionalities.
  • Standardize error handling across GraphQL queries.

Contributing

Contributions to the project are welcome!

blbook-graphene-django-ref's People

Contributors

rubensoleao avatar

Stargazers

 avatar

Watchers

Eduardo Sigrist Ciciliato 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.