Skip to content

valera7979/twiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run mongodb in \docker-compose folder with command:

docker compose -f mongo.yml up -d

Run application.

Use postman collection in \postman folder to testing API. If you don't have Postman app installed, use https://web.postman.co/, login or register and use https://web.postman.co/workspace. Use import button to import postman collection.

Flow:

  1. Call the "signup" endpoint. This will lead to the creation of a new user and return an authorization token.

  2. Use the token to invoke other methods. In the Authorization tab, select "Bearer Token" and paste the token obtained during the registration of the new user.

    image

  3. For an existing user, the token can be obtained by authenticating through the "/signin" method.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors