Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ondiekelijah/user-authentication-in-flask
User Authentication in Flask using Flask-Login
https://github.com/ondiekelijah/user-authentication-in-flask
bootstrap5 flask flask-login flask-sqlalchemy jinja2 sqllite3 wtforms
Last synced: 30 days ago
JSON representation
User Authentication in Flask using Flask-Login
- Host: GitHub
- URL: https://github.com/ondiekelijah/user-authentication-in-flask
- Owner: ondiekelijah
- License: mit
- Created: 2021-10-28T07:47:31.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-28T23:22:45.000Z (over 1 year ago)
- Last Synced: 2023-04-29T00:28:58.916Z (over 1 year ago)
- Topics: bootstrap5, flask, flask-login, flask-sqlalchemy, jinja2, sqllite3, wtforms
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 41
- Watchers: 2
- Forks: 38
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: Contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# User-Authentication-in-Flask
## Set up & Installation.
### 1 .Clone/Fork the git repo and create an environment
**Windows**
```bash
git clone https://github.com/Dev-Elie/User-Authentication-in-Flask.git
cd User-Authentication-in-Flask
py -3 -m venv venv```
**macOS/Linux**
```bash
git clone https://github.com/Dev-Elie/User-Authentication-in-Flask.git
cd User-Authentication-in-Flask
python3 -m venv venv```
### 2 .Activate the environment
**Windows**```venv\Scripts\activate```
**macOS/Linux**```. venv/bin/activate```
or
```source venv/bin/activate```### 3 .Install the requirements
Applies for windows/macOS/Linux
```
pip install -r requirements.txt
```
### 4 .Migrate/Create a database```python manage.py```
### 5. Run the application
**For linux and macOS**
Make the run file executable by running the code```chmod 777 run```
Then start the application by executing the run file
```./run```
**On windows**
```
set FLASK_APP=routes
flask run
```Login | Register
:-------------------------:|:-------------------------:
![Sample](https://github.com/Dev-Elie/User-Authentication-in-Flask/blob/main/static/login.png) | ![Sample](https://github.com/Dev-Elie/User-Authentication-in-Flask/blob/main/static/register.png)Follow me on Twitter