Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanlabs/backend-reference
This repository contains different Backend related resources like applications, examples, libraries, tools, etc.
https://github.com/nanlabs/backend-reference
backend backend-api golang hacktoberfest python typescript
Last synced: 2 months ago
JSON representation
This repository contains different Backend related resources like applications, examples, libraries, tools, etc.
- Host: GitHub
- URL: https://github.com/nanlabs/backend-reference
- Owner: nanlabs
- License: mit
- Created: 2022-08-08T20:08:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T17:09:55.000Z (3 months ago)
- Last Synced: 2024-10-29T18:29:34.876Z (3 months ago)
- Topics: backend, backend-api, golang, hacktoberfest, python, typescript
- Language: TypeScript
- Homepage:
- Size: 3.17 MB
- Stars: 15
- Watchers: 13
- Forks: 6
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
Python Reference
[Changelog](#) |
[Contributing](./CONTRIBUTING.md)[![Awesome](https://awesome.re/mentioned-badge.svg)](https://github.com/nanlabs/awesome-nan)
[![Continious Integration][cibadge]][ciurl]
[![License: MIT][licensebadge]][licenseurl]This repository contains different Backend related resources like applications, examples, libraries,
tools and more!## Contents
- [Apps and Boilerplates](#apps-and-boilerplates)
- [Examples](#examples)- [Backend](#backend)
- [CLI Tools](#cli-tools)
- [FastAPI](#fastapi)
- [ThirdParty Integrations](#thirdparty-integrations)
- [Stripe](#stripe)
- [Microservices](#microservices)
- [SQLC](#sqlc)
- [DevOps](#devops)
- [Infrastructure as Code](#infrastructure-as-code)
- [Serverless Framework, SAM and CloudFormation](#serverless-framework-sam-and-cloudformation)
- [Containers, Orchestration and Serverless](#containers-orchestration-and-serverless)
- [Containers and Compositions (Docker, Docker Compose, Buildpacks and more)](#containers-and-compositions-docker-docker-compose-buildpacks-and-more)- [Contributing](#contributing)
- [Contributors](#contributors)## Apps and Boilerplates
| Name | Description | Keywords |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [FastAPI Example with PostgreSQL and Serverless Framework](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-postgres-with-serverless) | 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 Simple example with Docker Compose and PIP](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-simple-docker-pip) | This project demonstrates the implementation of a REST API using FastAPI, a modern, high-performance, web framework for building APIs with Python 3.+ based on standard Python type hints. It also uses Docker Compose to run the API in a container and PIP to manage Python packages. | _Python3_, _FastAPI_, _Pydantic_, _Docker_, _Docker Compose_, _PIP_ |
| [FastAPI with MongoDB and Docker Compose](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-mongo-with-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](https://github.com/nanlabs/nancy.go/tree/main/examples/golang-todo-rest-crud/) | 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_ |
| [SQLC with Go, PostgreSQL, Docker Compose](https://github.com/nanlabs/backend-reference/tree/main/examples/golang-api-with-postgres-and-sqlc) | This project demonstrates the implementation of a REST API using Go, SQLC, and PostgreSQL. It uses Docker Compose to set up the development environment and includes examples of creating, reading, updating, and deleting records in the database. | _Golang_, _SQLC_, _PostgreSQL_, _Docker_, _Docker Compose_ |## Examples
### Backend
#### CLI Tools
| Name | Description | Keywords |
| ---------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------- |
| [Python CLI Basic Example](https://github.com/nanlabs/backend-reference/tree/main/examples/cli-base) | 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](https://github.com/nanlabs/backend-reference/tree/main/examples/cli-typer-base) | 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](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-base) | Rest API that retrieves mock data using Faker library. | _Python3_, _Faker_, _Factory-Boy_, _FastAPI_, _Pydantic_ |
| [FastAPI Complete CRUD Example](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-crud) | 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](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-postgres-with-serverless) | 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](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-gql) | GraphQL API that retrieves fake companies using Faker library. | _Python3_, _Factory-boy_, _Faker_, _FastAPI_, _Pydantic_, _Strawberry-graphql_ |
| [FastAPI Simple example with Docker Compose and PIP](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-simple-docker-pip) | This project demonstrates the implementation of a REST API using FastAPI, a modern, high-performance, web framework for building APIs with Python 3.+ based on standard Python type hints. It also uses Docker Compose to run the API in a container and PIP to manage Python packages. | _Python3_, _FastAPI_, _Pydantic_, _Docker_, _Docker Compose_, _PIP_ |
| [FastAPI with MongoDB and Docker Compose](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-mongo-with-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](https://github.com/nanlabs/backend-reference/tree/main/examples/stripe-integration-node-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](https://github.com/nanlabs/backend-reference/tree/main/examples/nest-nats-microservices/) | 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_ |#### SQLC
| Name | Description | Keywords |
| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| [SQLC with Go, PostgreSQL, Docker Compose](https://github.com/nanlabs/backend-reference/tree/main/examples/golang-api-with-postgres-and-sqlc) | This project demonstrates the implementation of a REST API using Go, SQLC, and PostgreSQL. It uses Docker Compose to set up the development environment and includes examples of creating, reading, updating, and deleting records in the database. | _Golang_, _SQLC_, _PostgreSQL_, _Docker_, _Docker Compose_ |### DevOps
#### Infrastructure as Code
##### Serverless Framework, SAM and CloudFormation
| Name | Description | Keywords |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [FastAPI Example with PostgreSQL and Serverless Framework](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-postgres-with-serverless) | 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 Simple example with Docker Compose and PIP](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-simple-docker-pip) | This project demonstrates the implementation of a REST API using FastAPI, a modern, high-performance, web framework for building APIs with Python 3.+ based on standard Python type hints. It also uses Docker Compose to run the API in a container and PIP to manage Python packages. | _Python3_, _FastAPI_, _Pydantic_, _Docker_, _Docker Compose_, _PIP_ |
| [FastAPI with MongoDB and Docker Compose](https://github.com/nanlabs/backend-reference/tree/main/examples/fastapi-mongo-with-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_ |
| [SQLC with Go, PostgreSQL, Docker Compose](https://github.com/nanlabs/backend-reference/tree/main/examples/golang-api-with-postgres-and-sqlc) | This project demonstrates the implementation of a REST API using Go, SQLC, and PostgreSQL. It uses Docker Compose to set up the development environment and includes examples of creating, reading, updating, and deleting records in the database. | _Golang_, _SQLC_, _PostgreSQL_, _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](./CONTRIBUTING.md) for more information.## Contributors
Made with [contributors-img](https://contrib.rocks).
[cibadge]: https://github.com/nanlabs/backend-reference/actions/workflows/ci.yml/badge.svg
[licensebadge]: https://img.shields.io/badge/License-MIT-blue.svg
[ciurl]: https://github.com/nanlabs/backend-reference/actions/workflows/ci.yml
[licenseurl]: https://github.com/nanlabs/backend-reference/blob/main/LICENSE