CryptoCurrency Exchange built with python and flask!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Toni-d-e-v 1d64d79d87
web wallet
4 months ago
login web wallet 4 months ago
.env RXC implementirangit add . 4 months ago
.flaskenv RXC implementirangit add . 4 months ago
.gitignore RXC implementirangit add . 4 months ago
LICENSE.md RXC implementirangit add . 4 months ago
README.md RXC implementirangit add . 4 months ago
launch.py RXC implementirangit add . 4 months ago
pyproject.toml RXC implementirangit add . 4 months ago
requirements-dev.txt RXC implementirangit add . 4 months ago
requirements.txt web wallet 4 months ago

README.md

made-with-python Code style: black

Flask login template

Describes a simple entrypoint template to build login functionality for the flask application.

⚠️ This application is created for the demo references only.

Tools

Production

Development

Quick start

Please make sure your DB is created (site_users.db file should be present, for more details please refer to database creation).

git clone git@github.com:vyahello/flask-login-template.git
pip install -r requirements.txt
flask run

Then please open http://localhost:5000 endpoint in the browser.

Development notes

API

This application supports the following API endpoints:

  • / or index.html - home page of an app
  • /create_user - creates a fresh user into database
  • /login - logins the user
  • /logout - logouts the current user
  • /dashboard - shows the dashboard page, accessible only for logged in users

Create DB

Please follow the next instructions to create DB from the scratch:

python
Python 3.8.5 (default, Jul 26 2020, 21:03:43)
>>> from login import db
>>> db.create_all()
>>> exit()

ls login/site_users.db
login/site_users.db

Meta

Author Volodymyr Yahello.

Distributed under the MIT license. See LICENSE for more information.

You can reach out me at:

Contributing

I would highly appreciate any contribution and support. If you are interested to add your ideas into project please follow next simple steps:

  1. Clone the repository
  2. Configure git for the first time after cloning with your name and email
  3. pip install -r requirements.txt to install all project dependencies
  4. pip install -r requirements-dev.txt to install all development project dependencies
  5. Create your feature branch (git checkout -b feature/fooBar)
  6. Commit your changes (git commit -am 'Add some fooBar')
  7. Push to the branch (git push origin feature/fooBar)
  8. Create a new Pull Request