Everything #1

Closed
opened 2026-04-10 14:28:27 -04:00 by GamBar · 1 comment
Collaborator

We need register, login and get user on the backend.

Also change from mongo to sqlite.

We need register, login and get user on the backend. Also change from mongo to sqlite.
GamBar added this to the Development project 2026-04-10 14:28:27 -04:00
GamBar self-assigned this 2026-04-10 14:28:31 -04:00
Author
Collaborator

Quick way to test:

Register:

curl -X POST 'http://localhost:3300/auth/register' \
  --header 'Content-Type: application/json' \
  --data '{
    "first_name": "Vladimir",
    "last_name": "Petrov",
    "email": "vlpetrov02@gmail.com",
    "password": "sfjdlksfdj2"
}'

Login:

curl -X POST 'http://localhost:3300/auth/login' \
  --header 'Content-Type: application/json' \
  --data '{
    "email": "vlpetrov02@gmail.com",
    "password": "sfjdlksfdj2"
}'

Get:

curl -X GET 'http://localhost:3300/user'
# Quick way to test: ### Register: ```sh curl -X POST 'http://localhost:3300/auth/register' \ --header 'Content-Type: application/json' \ --data '{ "first_name": "Vladimir", "last_name": "Petrov", "email": "vlpetrov02@gmail.com", "password": "sfjdlksfdj2" }' ``` ### Login: ```sh curl -X POST 'http://localhost:3300/auth/login' \ --header 'Content-Type: application/json' \ --data '{ "email": "vlpetrov02@gmail.com", "password": "sfjdlksfdj2" }' ``` ### Get: ```sh curl -X GET 'http://localhost:3300/user' ```
GamBar added reference IM-1 2026-04-10 14:48:25 -04:00
GamBar changed title from BE Auth to ~~BE Auth~~ Everything 2026-04-25 06:07:10 -04:00
GamBar changed title from ~~BE Auth~~ Everything to Everything 2026-04-25 06:07:16 -04:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
catxrin/InterMedica#1
No description provided.