Skip to content

moeenur/AnyMind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnyMind

This project has been completed using Python 3.7

To run the app please go to the project root directory and execute the below commands in the terminal.

Development environment preparation

Create a Python Virtual Environment using the venv module

python3 -m venv venv

Activate the Python Virtual Environment in terminal

source venv/bin/activate

Install the necessary libraries for the app

pip install -U pip
pip install wheel
pip install -r requirements.txt

Development server

Start server to run the application

python manage.py runserver

Requests

  • Get the list of tweets with the given hashtag
$ curl -H "Accept: application/json" -X GET http://localhost:xxxx/hashtags/Python?limit=40
  • Get the list of tweets that the user has on his feed
$ curl -H "Accept: application/json" -X GET http://localhost:xxxx/users/twitter?limit=20

Unit Tests

Verify functional behavior of the application

python manage.py test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages