Skip to content

chatgut/UserService

Repository files navigation

UserService

This service runs on port 8002 with a MYSQL database on port 3306.


This service is responsible for the user profile management:

  • Create new user profile
  • Get user's own profile
  • Get user profile by ID
  • Get all users profiles
  • Update user's own profile

The user profile contains the following information:

  • Image link
  • Name
  • Amount of posts

How to run


Clone the repository and run the following command: docker compose up

Endpoints


  • GET /users/{userId} - Get user profile by ID.

  • GET /users - Get user's own profile by HEADER userID

  • GET /users/all - Get all users profiles

  • POST /users - Create a new user profile by HEADER userID

  • PUT /users - Update user's own profile by HEADER userID

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •