/Restpastrop

Projet étudiant Rest Api

Primary LanguageJavaScriptMIT LicenseMIT

Restpastrop

Student project whose aim was to create a REST API (free technology) for booking accommodation.

We decided to use the Nodejs framework combined with express js to build our API (it was an opportunity to test a new technology).

Documentation

You can find the documentation in the swagger file

Installation

Install the project with npm (Nodejs required)

    git clone https://github.com/chatelet69/Restpastrop.git
    cd Restpastrop
    touch config.json
    # You'll need a config.json file in the following form
    npm install
    npm start
{
    "host": "HOST IP",
    "user": "database user",
    "password": "Replace it",
    "database": "restpastrop",
    "apiPort": 8081,
    "secretJwt": "Replace it",
    "baseUrl": "http://localhost:8081"
}

Authors

Techno

Server & Database

License