Giter Club home page Giter Club logo

fakepinterest's Introduction

Project FakePinterest

Packages used:

  • flask
  • flask_sqlalchemy
  • flask_bcrypt
  • flask_login
  • flask_wtf
  • wtforms
  • wtforms.validators
  • werkzeug.utils
  • datetime
  • os

Project Description

This is a Web Development Project in which back-end, partial front-end and deployment was developed. The purpose of this project is to study how Web Development works using Flask web framework.

The html files were not entirely created during this project and were adapted from an external front-end source. The css file was also imported from the same source. This project focus mostly on the development using Python and Flask.

Project Structure

  • The "main.py" file is responsible for running the website application while "__init__.py" initializes the website's configurations such as database, secret key for password encryption and folder in which Posts will be stored;

  • "models.py" contains the User (Usuario) and Post objects creating their respective attributes;

  • "forms.py" creates the form objects such as login form, create account form and post form, while the "routes.py" file defines each route that is related to each html page such as homepage route being related to the "FormLogin()" object and to "homepage.html";

  • The "criar_banco.py" file creates the Database that was used to simulate the website locally before deploy.

Deployment

The final step is the deployment in which case the Render Cloud Application was used as it allows for free website deployments for simple applications. Although Render suspends web application that are inactive for certain period of time.

Website's Feed

img.png

Login Page

img_1.png

Create Account Page

img_2.png

Note 1: the forementioned external front-end course comes from an online course called "Hashtag Treinamentos" (https://www.hashtagtreinamentos.com)

Note 2: this project has no relationship with Pinterest and was created only for academic purposes.

fakepinterest's People

Contributors

hugo-hattori avatar

Watchers

 avatar

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.