fastapi-neo4j

Template for building FastAPI applications with Neo4j(neontology).

https://github.com/darixsamani/fastapi-neo4j

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.2%) to scientific vocabulary

Keywords

docker docker-compose fastapi neo4j neontology python3
Last synced: 6 months ago · JSON representation ·

Repository

Template for building FastAPI applications with Neo4j(neontology).

Basic Info
Statistics
  • Stars: 19
  • Watchers: 1
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Topics
docker docker-compose fastapi neo4j neontology python3
Created over 2 years ago · Last pushed 6 months ago
Metadata Files
Readme License Citation

README.md

FastAPI and NEO4J Boilerplate

A simple starter for building RESTful APIs with FastAPI and NEO4J.

Features

  • Python FastAPI backend.
  • Neo4J database.
  • Authentication
  • Deployment

Using the application

To use the application, follow the outlined steps: 1. Clone this repository and create a virtual environment in it: uv venv 2. Install the modules listed in the requirements.txt file: 3. run neo4j instance on docker

 ```
 docker run \                                                                        
 --publish=7474:7474 --publish=7687:7687 \
  --volume=$HOME/neo4j/data:/data \
    neo4j
  ```
  1. You also need to start your NEO4J instance locally or on Docker and create a .env.dev file. See the .env.sample for configurations.

Example for running locally NEO4J at port 7474:

      cp .env.sample .env.dev
  1. Start the application:

    uv run main.py

The starter listens on port 8000 on address 0.0.0.0.

FastAPI-Neo4j starter

The Neo4j Database example

Neo4j

Owner

  • Name: Darix SAMANI SIEWE
  • Login: darixsamani
  • Kind: user
  • Location: Douala, Cameroon
  • Company: @DataTouchAnalytics, @hoozonsarl

Software Engineer

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: fastapi-neo4j
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Darix
    family-names: SAMANI SIEWE
    email: samanidarix@gmail.com
    orcid: 'https://orcid.org/0009-0001-0794-7120'
repository-code: 'https://github.com/darixsamani/fastapi_neo4j'
abstract: >-
  Template for building FastAPI applications with Neo4j(neontology).
keywords:
  - fastapi
  - neo4j
  - neontology
license: MIT

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Dependencies

Dockerfile docker
  • python 3.8 build
docker-compose.yml docker
  • ne4j latest
requirements.txt pypi
  • PyJWT ==1.6.4
  • annotated-types ==0.5.0
  • anyio ==3.7.1
  • cffi ==1.15.1
  • click ==8.1.6
  • cryptography ==41.0.3
  • dnspython ==2.4.2
  • email-validator ==2.0.0.post2
  • exceptiongroup ==1.1.2
  • fastapi ==0.101.0
  • h11 ==0.14.0
  • idna ==3.4
  • iniconfig ==2.0.0
  • neo4j ==4.4.11
  • neontology ==0.1.4
  • numpy ==1.25.2
  • packaging ==23.1
  • pandas ==1.5.3
  • passlib ==1.7.4
  • pluggy ==1.2.0
  • pycparser ==2.21
  • pydantic ==1.10.12
  • pydantic_core ==2.4.0
  • pytest ==7.4.0
  • python-dateutil ==2.8.2
  • python-dotenv ==1.0.0
  • pytz ==2023.3
  • six ==1.16.0
  • sniffio ==1.3.0
  • starlette ==0.27.0
  • tomli ==2.0.1
  • typing_extensions ==4.7.1
  • uvicorn ==0.23.2