Skip to content

yvanvrela/11Pass-api

Repository files navigation

11Pass API

Description

This project is a API REST for a password manager based on vaults containing accounts, by FastApi for the 11Pass App.

Features


Features included:

  • Data modeling with pydantic.
  • Data validation.
  • Repository of users.
  • Repository of vaults.
  • Repository of accounts.
  • Repository of credit cards.
  • SQLAlchemy - Postgresql.
  • Alembic - Migrations.
  • JWT Authentication.
  • FastAPI Router.
  • Docker-Compose.
  • Clean Architecture.

Requirements:

  • Python >= 3.6

Instalation


  1. Clone or download de repository:

    $ git clone https://github.com/yvanvrela/11Pass-api.git

  2. Open the console inside the project directory and create a virtual environment (You can skip this step if you have docker installed).

    $ python3 -m venv venv $ source venv/bin/activate

  3. Install the app.

    (venv) $ pip install -r requirements.txt

Basic Usage


Once you are running the server open the Swagger UI App to checkout the API documentation.

Ff you run it on to localhost, the address would be http://localhost:8000/docs

Images


image image

Users


image image

Vaults


image image

Accounts


image image