Mognom / Prof.-Ing.-Software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eventus

Index

Eventus is a web application designed to create and share events in your city.

To install NodeJS dependencies, execute in the accounting-proxy folder:

npm install

You can edit the configuration just editing the file /src/config.js. This file includes:

multer: {
	imgdest: "The path where the application is goint to store the images"
},
sqlite3: {
	filename: "The name of the SQLite3 file (By default ./database.sqlite3)"
}

To run Eventus just execute:

node ./bin/www

And type in your browser: http://localhost:8000

Get all events

Method: GET
Url: http://localhost:8000/events

Filter events by city

Method: GET
Url: http://localhost:8000/events?city=Madrid

Create events

Method: POST
Url: http://localhost:8000/events

Body:
{
"title": "Title of the event",
"description": "Description of the event",
"city": "City",
"location": "Place",
"date": "YYYY-MM-DD",
"hour": "hh:mm:ss"
}

Last updated: _15/11/2016

About


Languages

Language:JavaScript 72.6%Language:HTML 27.1%Language:CSS 0.4%