https://github.com/arsho/newsroom
A web application for storing and managing news stories.
https://github.com/arsho/newsroom
Last synced: 3 months ago
JSON representation
A web application for storing and managing news stories.
- Host: GitHub
- URL: https://github.com/arsho/newsroom
- Owner: arsho
- License: mit
- Created: 2017-12-05T12:55:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-19T08:17:53.000Z (over 7 years ago)
- Last Synced: 2025-03-23T01:34:43.905Z (over 1 year ago)
- Language: JavaScript
- Size: 2.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Newsroom
========

A web application for storing and managing news stories.
It includes both a web application and a RESTful API using Django REST Framework (DRF)
## Milestones
### - [x] Phase 1 (Completed)
- Necessary package installation
- Database creation
- Sign up and login system for users
- A page to list all stored news
- A page to create new news
### - [x] Phase 2 (Completed)
- Add edit and delete functinoalities for each news
- Delete function should include confirmation alert
### - [x] Phase 3 (Completed)
- API using Django Rest Framework
## Software Used
The following environment are used to develop the application:
- **OS** : Ubuntu 16.04 (64 bit)
- **IDE** : PyCharm Professional (Version: 2017.3)
- **Python** : 2.7 (64 bit)
- **Django** : 1.11
- **Database** : SQLite
- **Django REST Framework** : 3.7.3
### Necessary Package Installation
- Install virtual environment
$ python virtualenv venv
- Activate virtual environment (Change it based on your OS)
$ source venv/bin/activate
- Install necessary packages included in requirements.txt
$ pip install -r webapp/requirements.txt
### To Run the Application
- Activate virtual environment (if not activated)
$ source venv/bin/activate
- Run the `application.py`
$ python manage.py runserver
### Database migration
- Create migration
$ python manage.py makemigrations
- Run migration
$ python manage.py migrate
### Super User
- Create super user
$ python manage.py createsuperuser
### URLS
- Web application URL: http://127.0.0.1:8000/
- API URL: http://127.0.0.1:8000/api/