Skip to content

nanlabs/backend-reference

Repository files navigation

Python Reference

Changelog | Contributing

Awesome Continious Integration License: MIT

This repository contains different Backend related resources like applications, examples, libraries, tools and more!

Contents

Apps and Boilerplates

Name Description Keywords
FastAPI Example with PostgreSQL and Serverless Framework This project demonstrates the implementation of a REST API using FastAPI, a modern, high-performance, web framework for building APIs with Python 3.6+ based on standard Python type hints. It also uses PostgreSQL as the database and the Serverless Framework to deploy the API to AWS Lambda. Python3, Faker, FastAPI, Pydantic, SQLAlchemy, Alembic, Docker, Docker Compose, PGAdmin, PostgreSQL, Serverless Framework, AWS Lambda, AWS RDS, AWS API Gateway
FastAPI with MongoDB and Docker Compose This project demonstrates the implementation of a REST API using FastAPI, a modern, high-performance, web framework for building APIs with Python 3.6+ based on standard Python type hints. It also uses MongoDB as the database and Docker Compose to run the API and the database in containers. Python3, FastAPI, Pydantic, MongoDB, Mongo Express, Docker, Docker Compose
Golang REST API boilerplate REST API to create, update and retrieve Entities, including graceful shutdown, rate limiting, structured logging, unit tests, integration tests, environment variables, health check and API documentation with swagger. Technologies: Golang 1.19, MongoDB (with Docker Compose), Gorilla Mux, Go Swagger, Tollbooth (rate limiting), Zap (logging), Viper, Mockery, Makefile, Pre-commit, and DockerTest (integration tests). Golang, REST API, MongoDB, Gorilla Mux, Go Swagger, Tollbooth, Zap, Viper, Mockery, Makefile, Pre-commit, Docker, Docker Compose, DockerTest

Examples

Backend

CLI Tools

Name Description Keywords
Python CLI Basic Example Basic structure to create a command without passing the python command and the python file's path. Python3, PyCMD
Python CLI with Typer + Rich Example Interaction with an external API, to retrieve some currencies exchange rates, make conversion returning styled console output. Python3, Requests, Rich, Typer

FastAPI

Name Description Keywords
FastAPI Basic Example Rest API that retrieves mock data using Faker library. Python3, Faker, Factory-Boy, FastAPI, Pydantic
FastAPI Complete CRUD Example Rest API that allows to create, read, update and delete employees and companies in the db, besides that, has endpoints to populate the db with Mock Data using faker. Python3, Faker, FastAPI, Pydantic, SQLAlchemy, Alembic, Docker, Docker Compose, PGAdmin, PostgreSQL
FastAPI Example with PostgreSQL and Serverless Framework This project demonstrates the implementation of a REST API using FastAPI, a modern, high-performance, web framework for building APIs with Python 3.6+ based on standard Python type hints. It also uses PostgreSQL as the database and the Serverless Framework to deploy the API to AWS Lambda. Python3, Faker, FastAPI, Pydantic, SQLAlchemy, Alembic, Docker, Docker Compose, PGAdmin, PostgreSQL, Serverless Framework, AWS Lambda, AWS RDS, AWS API Gateway
FastAPI GraphQL GraphQL API that retrieves fake companies using Faker library. Python3, Factory-boy, Faker, FastAPI, Pydantic, Strawberry-graphql
FastAPI with MongoDB and Docker Compose This project demonstrates the implementation of a REST API using FastAPI, a modern, high-performance, web framework for building APIs with Python 3.6+ based on standard Python type hints. It also uses MongoDB as the database and Docker Compose to run the API and the database in containers. Python3, FastAPI, Pydantic, MongoDB, Mongo Express, Docker, Docker Compose

ThirdParty Integrations

Stripe
Name Description Keywords
Stripe Integration with Node.js and TypeScript This project offers a seamless Stripe integration with Node.js and TypeScript, providing a powerful API for managing basic operations like customer creation, checkout sessions, and portal sessions. It empowers developers to effortlessly handle payment-related tasks with the Stripe API. Node.js, TypeScript, Stripe, Payment Gateway, API, Integration, Webhooks

Microservices

Name Description Keywords
NestJS REST-based Microservices with NATS This project demonstrates the implementation of a microservices architecture using NestJS, a progressive Node.js framework, along with NATS for asynchronous event-based as well as synchronous request-reply messaging patterns. Microservices, Node.js, NestJS, NATS, REST, Messaging Patterns, Proof of Concept

DevOps

Infrastructure as Code

Serverless Framework, SAM and CloudFormation
Name Description Keywords
FastAPI Example with PostgreSQL and Serverless Framework This project demonstrates the implementation of a REST API using FastAPI, a modern, high-performance, web framework for building APIs with Python 3.6+ based on standard Python type hints. It also uses PostgreSQL as the database and the Serverless Framework to deploy the API to AWS Lambda. Python3, Faker, FastAPI, Pydantic, SQLAlchemy, Alembic, Docker, Docker Compose, PGAdmin, PostgreSQL, Serverless Framework, AWS Lambda, AWS RDS, AWS API Gateway

Containers, Orchestration and Serverless

Containers and Compositions (Docker, Docker Compose, Buildpacks and more)
Name Description Keywords
FastAPI with MongoDB and Docker Compose This project demonstrates the implementation of a REST API using FastAPI, a modern, high-performance, web framework for building APIs with Python 3.6+ based on standard Python type hints. It also uses MongoDB as the database and Docker Compose to run the API and the database in containers. Python3, FastAPI, Pydantic, MongoDB, Mongo Express, Docker, Docker Compose

Contributing

  • Contributions make the open source community such an amazing place to learn, inspire, and create.
  • Any contributions you make are truly appreciated.
  • Check out our contribution guidelines for more information.

Contributors

Contributors

Made with contributors-img.

About

This repository contains different Backend related resources like applications, examples, libraries, tools, etc.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published