Skip to content

Latest commit

 

History

History
32 lines (15 loc) · 745 Bytes

README.md

File metadata and controls

32 lines (15 loc) · 745 Bytes

USERS LOGIN AND AUTHENTICATION IN FLASK

This repository aims to develop a basic Rest API in Flask.

The Web API consists in CRUD operations for the entity: users. Also includes other user operations, such as register, authentication, login, logout.

The users authentication methods were developed with Flask-JWT-Extended. And passlib to do the password hashing.

The lib marshmallow was used as a way to serialize and deserialize data with studies purposes.

Installation

Install the required packages with

pip install requirements.txt

Running

Inside the directory, run:

python run.py

Testing

Inside the directory, run:

python pytest

You can also test the Web API endpoints using Postman or similar.