Welcome to my News Website, a project crafted as part the Django module in the SheCodes Plus program. This dynamic web application empowers users to engage with news content in a personalized and interactive manner.
- Open your Windows Terminal.
- Navigate to the directory where you want to store the project.
- Run the following command to clone the repository:
git clone https://github.com/blakerach1/she_codes_news.git - Change into the project directory:
cd your-repository
- Run the following commands to create a virtual environment named "env" (you can choose a different name) and activate it:
python -m venv env`.\env\Scripts\activate``
- While the virtual environment is active, install the required dependencies:
pip install -r requirements.txt
- Run the following commands to apply migrations and create the database:
python manage.py migrate
- If you want to access the Django admin panel, create a superuser:
python manage.py createsuperuser - Follow the prompts to set up the superuser account.
- Finally, start the Django development server:
python manage.py runserver - The server will start, and you can access the project by visiting: `http://127.0.0.1:8000/' in your web browser.
Account Creation
- Users can easily create an account to unlock personalized features.
- "Create Account" page

- Users can seemlessly login and out of their account.
- Log-in/log-out

- Users can view details of their account, include a profile description field.
- "Account view" page

Story Authoring
- Account holders can craft compelling news stories with the ability to include captivating images.
- "Create Story" functionality only available when user is logged in

- Story images

Latest News
News by Author
-
"Log-in" button only visible when no user is logged in/"Log-out" button only visible when a user is logged in

Secure Editing and Deletion
- Users have the power to edit and delete only the stories they have authored, ensuring content integrity.
- Add the ability to update and delete stories (consider permissions - whoshould be allowed to update or and/or delete stories).

- Once Users are registered, they unlock additional access to create their own news content.
- Gracefully handle the error where someone tries to create a new story when they are not logged in.

Password Management
Authors in-focus
- Users are able to share a professional bio for readers to learn more about their favourite authors.
- Author profiles: View details about the author when selecting the author's username.

- Redesign.
- Ability for users to edit their own profile and add a description.
- Add categories to the stories and allow the user to search for stories bycategory.
- Add the ability to “favourite” stories and see a page with your favouritestories.
- Automatically populate publication date, as the day the story was first published (maybe you could then add a field to show when the story was updated).




