For years I’ve been dabbling with programming without much success, however a couple years ago I went back to finish my undergrad degree in Computer Science which has meant a near instant level up! I’ve made some toy apps are part of my school projects and I have a couple of large for me at least applications that I want to write. In my quest to get better at programming and because I’m looking to diversify my income, I decided to work on creating a new company that sells game server rentals. The twist is I’m not going to make a huge monolithic app, instead I’m going to go the route of using micro services. Starting with a basic auth service. This service will allow users to sign up and then it will allow users to login using JSON Web Token(JWT).
Tech I will be using
- Postgres
- FastAPI
- Code Server ( Techno Tim’s Video)
I’m going to attempt to capture all of this on video and release on my Youtube Channel
How’s it supposed to work
Login
- Send credentials
- Check the user DB
- If credentials are valid return the JWT
- If not valid return 404
Sign UP
- Check if account exists
- If the account exists return and error
- If user doesn’t exist create the account in the db
- Return success
Here are the diagrams covered in the video
Here is a short video summarizing the project.