Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmarcosfelipe/flask-auth-api
https://github.com/pmarcosfelipe/flask-auth-api
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pmarcosfelipe/flask-auth-api
- Owner: pmarcosfelipe
- Created: 2024-10-12T11:43:33.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-17T05:08:26.000Z (about 1 month ago)
- Last Synced: 2024-10-19T07:23:27.793Z (28 days ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Flask Authentication API
This project consists in create a Authentication API using [Flask](https://flask.palletsprojects.com/en/3.0.x/).
## Requirements
- The API must to persist data on database;
- The API must to have the following endpoints:
- Login User;
- Logout User;
- Create User;
- Get User;
- Update User;
- Delete User;## Run project
```python
python app.py
```## Create Database
Open terminal and run the scripts:
```python
flask shell
db.create_all()
db.session.commit()
```## Run Docker
Open terminal and run the script:
```
docker-compose up -d
```## References
- [Flask](https://flask.palletsprojects.com/en/3.0.x/)
- [Flask SQLAlchemy](https://flask-sqlalchemy.readthedocs.io/en/3.1.x/)
- [Flask Login](https://flask-login.readthedocs.io/en/latest/)