Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 1.14 KB

readme.md

File metadata and controls

66 lines (51 loc) · 1.14 KB

Using Mailcatcher

Running the django server:

cd django 
source bin/active
cd verbs/rest_app
./manage.py runserver

http://127.0.0.1:8000/ 			for angular app
http://127.0.0.1:8000/api/ 		for REST api

Running the Ionic app:

API endpoints (+has been implemented):

api/

+conjugations/
	Filter by infinitive
	Filter by tense
	Filter by 
	+:id/
	+random/

+gerunds/
	+random/

+participles/
	+random/

verb
	/:id     	
	/history
	*admins need to be able to post edits
	*admins need to be able to create new verbs

+infinitives/
	+/:id
	*admins need to be able to post, to update the list of active verbs
		/activate?

/score
	*users need to be able to post scores as well as a list

+tenses/
	:id/activate?
	*users need to be able to set their tenses and verbs

user/
	+/tenses 			(GET)
	+/tenses 			(PATCH)
	/infinitives		(GET)
	/infinitives/:id	(PATCH)

(+Added by Djoser)
(+Currently using a custom version where /User.USERNAME_FIELD/ is removed)
auth/
	/me/
	/register/
	/login/  (token based authentication)
	/logout/ (token based authentication)
	/activate/
	/password/
	/password/reset/
	/password/reset/confirm/