An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

Newsroom
========

![Final List](screenshot/merged_index.png)

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/