$ npx create-react-app .
$ npm install --save react-router-dom
$ npm install --save axios
Check service:
$ curl \
-d '{"user": { "username": "marley1",
"email":"marley@pochta.ru",
"password": "password1"
}}' \
-H "Content-Type: application/json" \
-X POST https://conduit.productionready.io/api/users \
| python -m json.tool
response
{
"user": {
"bio": null,
"createdAt": "2020-01-03T21:06:41.865Z",
"email": "marley@pochta.ru",
"id": 79645,
"image": null,
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6Nzk2NDUsInVzZXJuYW1lIjoibWFybGV5MSIsImV4cCI6MTU4MzI2OTYwMX0.kN3eqBmQQYcgeoqvjJFkrSekBtRO232LFe8KQIiuEsA",
"updatedAt": "2020-01-03T21:06:41.870Z",
"username": "marley1"
}
}
$ npm install --save classnames
$ npm install --save query-string
Marley
Any questions in english: Telegram Chat
Любые вопросы на русском: Телеграм чат