A REST API with Express. Using Swagger for documentation and Docker to deploy
GET /api/v1
GET /api-docs
POST /api/v1/register
POST /api/v1/login
POST /api/v1/logout
GET /api/v1/user
GET /api/v1/user/:id
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
POST /api/v1/user
PUT /api/v1/user/:id
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
DELETE /api/v1/user/:id
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
After cloning the project, make sure you have docker installed.
docker-compose up --build
http://localhost:3000/api-docs