Skip to content

Fast Api Backend with DynamoDb using graphene, Vite React Typescript Frontend, Everything in Containers to develop

Notifications You must be signed in to change notification settings

DanielCarbajal314/fastapi-dynamodb-graphql-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastapi with Graphene Graphql, Vite-React-Typecript, DynamoDb

This project is a full-stack web application fully containerized that allows user to emulates a Kanban board using the next techstack

The whole developer enviroment runs on the next containers:

  • server - Runs the graphql backend in watch mode
  • ui - Runs vite developer enviroment in watch mode
  • dynamodb - Runs DynamoDb locally
  • awscli - Runs a container to use aws-cli to run commands agains dynamodb

Make commands

By using a Make file most common developer operations are stored to expose a easy to use contact surface - most of the operations are executed inside containers - with the following commands:

  • setup - Builds the docker images and install local depenencies to have intellisence on Vscode

  • up - Starts all the container

  • down - Turns off and remove containers

  • aws-cli - Shells into the aws-cli container to execute aws commands

  • create-table - Creates a table on DynamoDb

  • list-tables - Lists all tables created on DynamoDb

  • list-table-items - Lists all items for a table with queried name

  • delete-local-data - Deletes local volume where DynamoDb Container stores data

  • format - Runs Black on Backeend Python code and Runs Prettier on Frontend Typescript code

  • unit-test-dev-watch - Runs Frontend Unit Test and starts a watch state over code

  • unit-test-ci - Runs Frontend Unit Test ones

  • open-grapiql - Opens Graphene Graphql Client app

About

Fast Api Backend with DynamoDb using graphene, Vite React Typescript Frontend, Everything in Containers to develop

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published