/parisjs-talks-submit

Render a form to post a new talk for paris.js meetup.

Primary LanguageJavaScript

Paris.js info submission

Render forms to post new talks and sponsorship and save them on Trello.

Install

git clone https://github.com/parisjs/parisjs-talks-submit.git
cd parisjs-talks-submit
npm install

Configuration

cp .env{.sample,}
$EDITOR .env

Usage

export $(cat .env | xargs)
node server.js

API

Render the form

GET /

Returns 200.

Post the form and save to Trello

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.

Render sponsoring form

GET /sponsoring

Post the form and save to Trello

POST /sponsoring

Parameters:

  • entity - The entity who offer the sponsoring
  • period - when
  • type - type of sponsoring as array
  • contact - contact infos

Returns 201.

Tests

npm test

License

        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.