Render forms to post new talks and sponsorship and save them on Trello.
git clone https://github.com/parisjs/parisjs-talks-submit.git
cd parisjs-talks-submit
npm install
cp .env{.sample,}
$EDITOR .env
TRELLO_HOST
- by default https://api.trello.comTRELLO_KEY
- the oauth app key from Trello (https://trello.com/1/appKey/generate)TRELLO_TOKEN
- the oauth token from Trello (https://trello.com/1/authorize?key=THEKEY&name=ParisjsTrello&expiration=never&response_type=token&scope=read,write)TRELLO_ID_LIST_TALK
- the id of the Trello list to post talksTRELLO_ID_LIST_SPONSORING
- the id of the Trello list to post sponsoringTRELLO_ID_LIST_TALK_IDEA
- the id of the Trello list to post talks ideas
export $(cat .env | xargs)
node server.js
GET /
Returns 200.
POST /
Parameters:
- title - The title of the talk
- abstract - a small abstract of the talk (can be some markdown)
- author - the author : Author
- type - the type of the talk (long or short)
Returns 201.
GET /sponsoring
POST /sponsoring
Parameters:
- entity - The entity who offer the sponsoring
- period - when
- type - type of sponsoring as array
- contact - contact infos
Returns 201.
GET /talk-idea
POST /talk-idea
npm test
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2015 François de Metz <francois@2metz.fr>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.