- Project Description
- User Story
- Acceptance Criteria
- Installation
- Usage
- Credits
- License
- Repository Status
- Contribute
- Tests
- Checklist
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.
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!
- 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.
- 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.
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.
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
- University of Sydney Coding Bootcamp for providing the codebase and walkthrough to create the app.
The works in this repository are subject to:
If you would like to contribute, please comply with the Contributor Covenant Code of Conduct:
- No unit tests have been created, I will set up some tests for the Python server soon.
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.