Skip to content

created simple social network with automated bot using Django REST, Python 3, Sqlite

Notifications You must be signed in to change notification settings

idrummer83/starnavi_test_task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Social Network

Basic models:

● User ● Post (always made by a user)

Basic Features:

● user signup ● user login ● post creation ● post like ● post unlike ● analytics about how many likes was made. Example url /api/analitics/?date_from=2020-02-02&date_to=2020-02-15 . API should return analytics aggregated by day. ● user activity an endpoint which will show when user was login last time and when he mades a last request to the service.

Requirements:

● Implement token authentication (JWT is prefered)

Object of this bot demonstrate functionalities of the system according to defined rules. This bot should read rules from a config file (in any format chosen by the candidate), but should have following fields (all integers, candidate can rename as they see fit).

  1. Automated bot

● number_of_users ● max_posts_per_user ● max_likes_per_user Bot should read the configuration and create this activity: ● signup users (number provided in config) ● each user creates random number of posts with any content (up to max_posts_per_user) ● After creating the signup and posting activity, posts should be liked randomly, posts can be liked multiple times

About

created simple social network with automated bot using Django REST, Python 3, Sqlite

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published