https://github.com/guilhermecostam/projeto_auth_backend
🛡️ Rest API for user authentication using Python.
https://github.com/guilhermecostam/projeto_auth_backend
docker-compose fastapi jwt python
Last synced: 6 months ago
JSON representation
🛡️ Rest API for user authentication using Python.
- Host: GitHub
- URL: https://github.com/guilhermecostam/projeto_auth_backend
- Owner: guilhermecostam
- Created: 2023-03-03T16:44:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-11-02T09:40:45.000Z (8 months ago)
- Last Synced: 2025-11-02T11:39:44.094Z (8 months ago)
- Topics: docker-compose, fastapi, jwt, python
- Language: Python
- Homepage:
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
projeto_auth_backend
Simple API for user authentication. Developed to apply for a vacancy.
## Features
These are the features I used in developing this project.
- **Python** — Open-source and compiled language.
- **FastAPI** — Web framework for building APIs with Python.
- **SQLAlchemy** — SQL object-relational mapping library in python.
- **Docker Compose** — Docker's container orchestrator.
- **MySQL** — Relational database.
## Dependencies
First of all you need to install python 3, docker and docker-compose. I have specified in 'requirements.txt' the python dependencies used in this project. I tried to put everything in a container but couldn't do it in time. After installing them (using pip), you can go to the next step and run the application.
## Getting started
```bash
# Clone this repository
$ git clone https://github.com/guilhermecostam/projeto_auth_backend.git
# Create your .env file and overwrite
$ cp .env.example .env
# Run docker compose
$ docker-compose up -d
# Now, run the application
$ python3 -m uvicorn app.main:app --reload
```
## Access to the API
All requests to the API can be found at:
```shell
localhost:8000/docs
```
---
Made with :zap: by Guilherme Costa. [Get in touch!](https://www.linkedin.com/in/guilhermecostam/)