Skip to content

A simple web application created using React and Python (Flask) which consumes Twitter API to programmatically create, retrieve and delete a tweet.

Notifications You must be signed in to change notification settings

mkarthikkamath/CMPE272-Twitter-Service

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

CMPE272-Twitter-Service

Frontend

Authors:

@ahmedzaytounsjsu @mkarthikkamath

Tools / Technologies

  • React JS

Setup Instructions

  1. Clone the repo and cd into /twitter-ui
  2. Install the node packages
$ npm i
  1. Run the Project
$ npm start

Backend

Authors:

@Harshil-V @sanjaysathyarapu

Tools / Technologies

  • Flask
  • unittest
  • Twitter API - Free Plan
  • tweepy

Setup Instructions

  1. Clone the repo and cd into /rest_api
  2. Create a virtual envirnment
$ python -m venv venv
  1. Activate virtual envirnment
$ source venv/bin/activate # For Linux
$ source venv/Scripts/activate # For Windows
  1. Install the requirements from requirements.txt
$ pip install -r requirements.txt
  1. Add config.py file to the project which holds the keys, secrets and tokens
    • the config.py file is avaible on the Teams Share Google Drive Folder
  2. Run the application
$ flask run #run without debug
$ flask --app app.py run --debug #run in debug mode with hotreload

Unit Tests

$ python -m unittest app.py

Note: Make sure you have activated the virtual envirnment

About

A simple web application created using React and Python (Flask) which consumes Twitter API to programmatically create, retrieve and delete a tweet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 47.9%
  • Python 31.2%
  • CSS 13.3%
  • HTML 7.6%