Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BuonaSeraCaterer
BuonaSeraClient
bin
docs
models
public
routes
views
.DS_Store
.gitattributes
.gitignore
Dockerfile
LICENSE
README.MD
app.js
config.js
package-lock.json
package.json

README.MD

Buona Sera

Buona Sera.

Dependencies

  • NodeJS
  • Express
  • npm

Installing

To run the server, we need to insert the folder that contains the package.json file.

  1. Installing NodeJS dependencies:
$ npm install
  1. Running the server:
$ npm start

API - Application Programming Interface

Register

send to <YourURL.com>/api/register/

{ 
    'name' : <name>,
    'email' : <email>,
    'password' : <password>
}

result if sucess:

{
     'result': true
}

else:

{
    'result': false
⁾)

Login

send to <YourURL.com>/api/login/

{ 
    'email' : <email>,
    'password' : <password>
}

result if sucess:

{
    'name': <user_name>,
    'email' : <user_email>,
    'password' : <user_password>
}

else:

{
    'result' : 'false'
}
You can’t perform that action at this time.