Skip to content

This program simulates functions similar to that of Twitter (or X) using Python, MongoDB and JSON files. Added functions include searching for tweets or users, listing the top tweets in the document and composing tweets.

Notifications You must be signed in to change notification settings

adit-sinha/Twitter-Simulator

Repository files navigation

Twitter-Simulator

This program simulates functions similar to that of Twitter (or X) using Python, MongoDB and JSON files. Added functions include searching for tweets or users, listing the top tweets in the document and composing tweets.

Group Members

Adit Sinha
Arnav Sachdeva
Jordan Kwan
Dion Alex Mathew
Joshua Wong

Code Execution Guide

Start a mongo server by using mongod --port (27017 is default port number in mongo server) (This step might not be necessary depending on your device.) Then, run 'python3 load-json.py valid json file portnumber' (100.json or 10.json - example of valid JSON file in the same directory)

Example: mongod --port 27017 python3 load-json.py 100.json 27017

About

This program simulates functions similar to that of Twitter (or X) using Python, MongoDB and JSON files. Added functions include searching for tweets or users, listing the top tweets in the document and composing tweets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages