Giter Site home page Giter Site logo

mark33mark / newsfeed-python-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 362 KB

A Python server side to create a post / blog application intended for technology enthusiasts. Includes log in / log out functionality. No image uploading provided.

License: MIT License

Python 52.15% JavaScript 18.25% CSS 8.74% HTML 20.69% Procfile 0.17%
python javascript flask gunicorn-flask-webserver bcrypt jinja2 sqlalchemy pymysql

newsfeed-python-server's Introduction

Mark Watson

webpage github

it's-tech blog using Python

Table of Contents

  1. Project Description
  2. User Story
  3. Acceptance Criteria
  4. Installation
  5. Usage
  6. Credits
  7. License
  8. Repository Status
  9. Contribute
  10. Tests
  11. Checklist

1. Description

What is this project?

  • A place for logged in users to post links to technology articles, comment on others user's posts; and / or simply up-vote to show they like / appreciate the post.

    Live application: its-tech.herokuapp.com

    Mark Watson Mark Watson Mark Watson

Why this project?

  • All about Python! The app is from refactored code to replace a Nodejs server with Python. This was done to demonstrate my understanding of the Python programming language - all about those indents and decorating functions!

2. User Story

  • AS a technology enthusiast
  • I WANT a place to provide links to technology websites for others to comment on
  • SO THAT I can have a network of people also interested in technology.

3. Acceptance Criteria

  • GIVEN a landing page I see past post articles and a login link in the header
  • WHEN I select login, I am taken to a login page that also includes a sign up option as well
  • WHEN I log in or sign up I am taken to my dashboard page where I can see my past posts, comments, votes
  • WHEN I select any of my posts I am taken to an edit page where I can delete the post, edit it's comments or make a comment
  • WHEN I go to the main page I can select other user's posts and make comments and up vote the post.

4. Installation

You are welcome to download the source code from my Github repository

Once downloaded, confirm you have python version 3.8 or greater installed (type python --version in your terminal if you are unsure). Once confirmed run the following commands:

python -m venv venv
./venv/Scripts/activate

To run the application, type in the command line:

python -m flask run

Enjoy.


5. Usage

The code can be downloaded from my Github repository for all assets created for the project.

You are welcome to modify the code as you need as allowed by the license


6. Credits

  • University of Sydney Coding Bootcamp for providing the codebase and walkthrough to create the app.

7. License

The works in this repository are subject to:

GitHub


8. Github repo status

GitHub top language GitHub language count GitHub last commit GitHub commits in last month


9. How to Contribute

If you would like to contribute, please comply with the Contributor Covenant Code of Conduct:

Contributor Covenant


10. Tests

  • No unit tests have been created, I will set up some tests for the Python server soon.

11. Checklist

All actions not checked are still to be completed:

[x] This application satisfies the following acceptance criteria:

  • view the home and dashboard pages in the browser
  • the database stores user accounts, posts, comments, or upvotes
  • anyone accessing the app are able to see posts on the homepage
  • posts are dated, have URLs, and plural words are properly formatted
  • logged-in users can create new posts and comments and upvote other posts

[x] Application is deployed to Heroku its-tech.herokuapp.com.
[x] Application loads with no errors.
[x] User experience is intuitive and easy to navigate.
[x] User interface style is clean and polished.
[x] GitHub repository contains application code.
[x] Application is deployed to GitHub Pages: Github location: https://github.com/Mark33Mark/newsfeed-python-server
[x] Repository has a unique name.
[x] Repository follows best practices for class/id naming conventions, indentation, quality comments, etc.
[x] Repository contains multiple descriptive commit messages.
[x] Repository contains quality README file with description, screenshot, and link to deployed application: Github location: https://github.com/Mark33Mark/newsfeed-python-server.


Back to the top

newsfeed-python-server's People

Contributors

mark33mark avatar

Watchers

 avatar

newsfeed-python-server's Issues

6. Deploy the app

User Story

  • As a user, I want to be able to visit the app on a public URL.

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.