Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phonebook

simple phonebook api with FastAPI


this project assumes that user can create a contact and each contact can have several numbers as you can see in picture:

dataclass uml

PlantUML usage:

first install openJDK : sudo apt install openjdk-11-jdk

then

to use plantUML, use java -jar plantuml.jar uml.txt

Docs:

Using Docker

in order to use docker, you can build this project using docker build command:

docker build -t <what_ever_name_you_want> .

after building our image is done, you can run a container using our brand-new image by this command:

docker run -d --name <container_name> -p 8080:80 <what_ever_name_you_want>

then you can see the running container in http://127.0.0.0.1:8080/docs

that's it! :D

keycloak implementation

i've decided to use keycloak as user base since it handles all stuff related to users and auth and authorization.

here are some github stuff i found:

how to start it?

you need to use keycloak docker

About

simple phonebook api with FastAPI

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages