An awesome referral app http://referly.herokuapp.com
For getting this running on your local machine:
-
Set up a virtualenv.
-
Install all the supporting libraries into your virtualenv::
pip install -r requirements/local.txt
-
Install Grunt Dependencies.
npm install
-
Run development server. (For browser auto-reload, use Livereload_ plugins.)
grunt serve
JSON fixtures is used to generate test data.
For login use: username: timlee
and password: timlee
django-rest-framework
is used for REST API.
-
/apiv1/referrals/
- API endpoint for list of referrals.GET, POST, HEAD, OPTIONS
are allowed http methods. -
/apiv1/referral/{{referral_id}}
- API endpoint for particular referral.referral_id
must provided.GET, PUT, PATCH, DELETE, HEAD, OPTIONS
http methods are allowed. -
/apiv1/user/{{username}}
- API endpoint for an user.GET, HEAD, OPTIONS
are allowed.