Set .env variable
cp .env.example .env
To run tests, run the following command
make test
restart: build app and run server
start: run server
make restart
POST /api/register
Data | response |
---|---|
name |
message |
email |
|
password |
POST /api/login
Data | response |
---|---|
email |
user |
password |
token |
set cookie in client - http only , lax, secure
GET /api/check-login
send cookie from client be backend (server)