Simple API for user authentication. Developed to apply for a vacancy.
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.
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.
# 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
All requests to the API can be found at:
localhost:8000/docs
Made with โก by Guilherme Costa. Get in touch!