Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

silently/silex-twittos-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Silex Twittos App

What is it? A minimal back-end twitter-like implementation developed with Silex.

What for? Intended to experiment developing SPA applications.

Done with: Silex 1.3 with DoctrineOrmServiceProvider version 1.

Instructions

Create a config/settings.yml file from the config/settings.default.yml one and enter the valid configuration parameters in your setup.

Then install dependencies with

composer install

Then launch server with

php -S localhost:8080 -t web/api web/index.php

Or

bin/server

Launch console with

php bin/console

For API developers

Regarding people:

  • in the database: author refers to the person who writes the text a tweet. A tweet and its retweets have the same author
  • in the database: publisher refers to the person who emits the tweet. In case of a retweet, it is a different person from the author. In case of an original tweet, the publisher and the author are the same person
  • in JSON API responses: there is a unique user term which maps the publisher one

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published