Skip to content
This repository has been archived by the owner on Oct 5, 2018. It is now read-only.
/ RoundTownWs Public archive

Rest Web service with Silex and MongoDB for RoundTown application

License

Notifications You must be signed in to change notification settings

ilbonzo/RoundTownWs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoundTownWs

PHP, Silex and MongoDb Web Service for http://app.sanzvan.it

API 1.0

/feeds Will return list of feeds

/feeds?tag=:tag Will return list of feeds with tag

/feeds/:id Will return list of news of feed

/images Will return list of image

/places Will return list of places

/places/:id Will return details of place

/places/:id/images Will return list of images of the place

/tweets Will return list of tweets

/tweets?from=list Will return list of tweets from specific list

/tweets?from=search Will return list of tweets from specific search query

Trello Board

https://trello.com/b/T77KVRdx/sanzvan

Developer instructions

  • install VirtualBox

  • install Vagrant

  • add '192.168.140.12 api.roundtown.dev' to your /etc/hosts

  • git clone [your forked repo]

  • cd RoundTownWs

  • $ git submodule update --init --recursive

  • cd tools

  • $ vagrant up

  • $ vagrant ssh

  • create db

    $ mongo

    $ [copy content of /tools/data/createdb.txt on mongo shell]

  • create file www/config/settings.yml from settings.yml.sample

  • create file www/silex.log and set permission to 777

  • open browser at http://api.roundtownws.dev/

  • /workspace/www is the working directory

  • cd /workspace/app

  • npm install

Config Vhost

For production change SetEnv APPLICATION_ENV "dev" to SetEnv APPLICATION_ENV "prod"

License

This software library is licensed under GNU General Public License, Version 2.0

About

Rest Web service with Silex and MongoDB for RoundTown application

Resources

License

Stars

Watchers

Forks

Packages

No packages published