Giter VIP home page Giter VIP logo

web-development-with-python's Introduction

Web Development with Python

  • A simple repo dedicated to keep track of my web development work with Flask, Jinja, Bootstrap and etc ๐Ÿš€.
  • Continued from this repo

Flask Steps for running a web server ๐Ÿš€

  1. Set the environmental variable FLASK_APP to the name of flask file: set FLASK_APP=something.py (This command is for windows)
  2. Run that flask app using the command flask run
    flask run
     * Serving Flask app 'C:\Users\Sampath Wijekoon\PycharmProjects\Web-Development-with-Python\my_first_flask.py'
     * Debug mode: off
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
     * Running on http://127.0.0.1:5000
    Press CTRL+C to quit
    
    or with app.run() in the python file

Things I have learned and projects I have finished โœ…

  • Day 68 ๐Ÿ”’

    • Learn Flask Authentication and build a application using that knowledge
  • Day 67 ๐Ÿ‘จโ€๐Ÿ’ป

    • Upgrade Blog site to have RESTful routing
  • Day 66 ๐Ÿ’ป

    • Learned about RESTful APIs and made one
  • Day 65 ๐Ÿ“–

    • Learned about Web Designing
  • Day 64 ๐Ÿ’ป

    • Created My Top 10 Movies Website
  • Day 63 ๐Ÿ“–๐Ÿ‘จโ€๐Ÿ’ป

    • Learned about SQLite, SQLAlchemy and how to do CRUD operations with them
    • Created a super simple website called Virtual Library to practise my skills
  • Day 62 ๐Ÿ‘จโ€๐Ÿ’ปโ˜•

    • Created a website (Coffee & WiFi Project)
  • Day 61 ๐Ÿ“–

    • Learned about WTForms, inheriting templates with Jinja and how to use Bootstrap-Flask
  • Day 60 ๐Ÿ‘จโ€๐Ÿ’ป

    • Learned about HTML Forms and how to work them with Flask
    • Got the HTML Form in Blog Website to work
  • Day 59 โš’๏ธ๐Ÿ‘จโ€๐Ÿ’ป

    • Upgraded the blog from Day 57 using what I've learned so far
  • Day 58 ๐Ÿ’ป

    • Learnt about Bootstrap and practised using it
    • Create a website named TinDog with Bootstrap (just the interface)
  • Day 57 ๐Ÿง‘โ€๐Ÿ’ป

    • Learnt about Jinja
    • Create a super simple blog website using Flask, Jinja, css and html
  • Day 56 ๐Ÿง‘โ€๐Ÿ’ป

    • Learnt how to use .html and .css files with Flask
    • Create a name card website
  • Day 55 ๐Ÿ“–

    • Learnt about advanced decorators in Python
    • Created a higher-lower game in website
  • Day 54 ๐Ÿ“–

    • Learnt about some cmd commands, Python decorators and "@" syntax
    • Ran my first Flask server

Pictures ๐Ÿ–ผ๏ธ

  • Flask Authentication (Day 68)

    image

  • Upgraded blog with RESTful routing (Day 67)

    image

  • My Top 10 Movies Website (Day 64)

    image

  • Virtual Library (Day 63)

    image

  • Coffee & WiFi (Day 62)

    image image

  • Working form of Blog Website (Day 60)

    image

  • Upgraded Blog Website (Day 59)

    image

  • TinDog (Day 58)

    image

  • Blog Website (Day 57)

    image

  • Name Card project (Day 56)

    image

web-development-with-python's People

Contributors

damsith-lk avatar

Watchers

 avatar

web-development-with-python's Issues

Problem with logging in on Blog

The new version of the blog website currently being created on features branch has a problem with logging

When a user logs in or registers after filling and submitting respective forms, they are directed to the home page. That's where they get logged out. After adding print statements I found out that they are not logged out before being redirected to the home page. It's obvious that the error occurs when they are redirected to a different page after login.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.