An open API service indexing awesome lists of open source software.

https://github.com/muhtarudinsiregar/flask_register_example

Example app with flask
https://github.com/muhtarudinsiregar/flask_register_example

flask flask-application learning-python

Last synced: 2 months ago
JSON representation

Example app with flask

Awesome Lists containing this project

README

          

## Flask Register Example
A simple flask project with register and login features.

### Require
- Python
- virtualenv

### Install
- Create your virtual environment, step by step to create virtual environment you can check this [link](https://dev.to/codemouse92/dead-simple-python-virtual-environments-and-pip-5b56)
- Activate your virtual environment
- Install dependencies in your virtual environment, `pip install -r requirements.txt`
- Export your flask environment with `export FLASK_APP=app.py`
- Then, run command `flask run`
- Open up your browser and enter the following url address field: `localhost:5000`

### Dependencies
- [flask-migrate](https://flask-migrate.readthedocs.io/en/latest/)
- [flask-sqlalchemy](http://flask-sqlalchemy.pocoo.org/2.3/)
- [flask-wtf](https://flask-wtf.readthedocs.io/en/stable/)

### Screenshoots
#### Login page
![Login](ss/Screenshot_1.png)
#### Register page
![Register](ss/Screenshot_2.png)
#### Register validation
![Register Failed](ss/Screenshot_3.png)

### References
- [https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world](https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world)
- [https://dev.to/codemouse92/dead-simple-python-virtual-environments-and-pip-5b56](https://dev.to/codemouse92/dead-simple-python-virtual-environments-and-pip-5b56)