nerdz-api

command module
v0.0.0-...-826f942 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2017 License: AGPL-3.0 Imports: 6 Imported by: 0

README

NERDZ API

Configuration file

Because JSON standard prohibits comments, your must remove the comments if you are willing to use the sample configFile.json below (comments are there as an explanation).

{
    "DbUsername" : "nerdz",                 // required
    "DbPassword" : "pass",                  // required if any, otherwise ""
    "DbName"     : "nerdz",                 // required
    "DbHost"     : "127.0.0.1",             // optional, i.e. "" -> fallback to localhost
    "DbPort"     : 0,                       // optional, i.e. 0 -> fallback to 5432
    "DbSSLMode"    : "disable",             // optional, i.e. "" -> fallback to disable
    "NERDZPath"  : "~/nerdz.eu/",           // required
    "NERDZHost"  : "www.nerdz.eu",          // required
    "EnableLog"  : false,		            // optional, default false
    "Host"       : "api.nerdz.eu",          // required
    "Scheme"     : "https",                 // required, in production must be https (mandatory for OAuth2)
    "Port"       : 8080                     // API port, optional -> fallback to 7536
}

Tests

For back-end tests, see nerdz/README.md.

For front-end tests, you have to wait ;)

Contributing

If you want to contribute, you should be at least a NERDZ user.

Developers can go to doc/CONTRIBUTING.md to see the developer's guide to NERDZ-API.

License

Copyright (C) 2016 Paolo Galeone; nessuno@nerdz.eu

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Documentation

Overview

Package main NERDZ API.

this application provides API for the NERDZ Social Networking Platform.

Terms of Service:

there are no TOS at this moment, use at your own risk we take no responsibility

	Schemes: https
	Host: api.nerdz.eu
 BasePath: /v1
 Version: 1
 License: AGPL http://www.gnu.org/licenses/
 Contact: Paolo Galeone<nessuno@nerdz.eu> https://www.nerdz.eu/nessuno.

	Consumes:
		- application/json

 Produces:
		- application/json

swagger:meta

Directories

Path Synopsis
me

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL