Skip to content

webofmars/meetup-ci-paradox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealWorld FastAPI + ODMantic App

Python: 3.10 pre-commit Code style: black mypy: checked Manager: poetry

FastAPI + ODMantic codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

CI Realworld Tests

Getting Started

🔨 Installation

  • Install Docker (necessary to run a local MongoDB instance)
  • Make sure Python 3.10 is available on your system
  • Install poetry
  • Setup the environment ./scripts/setup.sh

💡 Useful scripts

  • Start the MongoDB instance ./scripts/start-mongo.sh
  • Stop the MongoDB instance ./scripts/stop-mongo.sh
  • Start the FastAPI server ./scripts/start.sh
  • Format the code ./scripts/format.sh
  • Manually run the linter ./scripts/lint.sh
  • Manually run the tests ./scripts/test.sh

Coming Soon

  • Articles with details on every single step required to build this app
  • Testing
  • Deployment on AWS with MongoDB Atlas

Languages

  • Python 78.3%
  • Shell 17.3%
  • Dockerfile 2.6%
  • Makefile 1.8%