This page is in English.
Para visualizar essa página em
Português, clique aqui.
POST /
GET /
GET /date/today
GET /date
Query Param | Description |
---|---|
year |
Required. 4-digit year |
month |
Required. 2-digit month |
day |
Required. 2-digit day |
GET /search
Query Param | Description |
---|---|
text |
Optional. Any text |
GET /id/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of mood to fetch |
PUT /update/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of mood to update |
DELETE /delete/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. ID of mood to delete |
Clone the project
> git clone https://github.com/miaslls/MiaMood-server.git
Go to the project directory
> cd MiaMood-server
Install dependencies
> npm install
Run the project
> npm run start