Skip to content

aminoxix/naamkaran-server

Repository files navigation

Nest Logo

Backbone of namepicker.ai

Installation

$ pnpm install

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Routes

# /user
create

{
  "id": string;
  "email": string;
  "username": string;
}
# generate username

# /prompt
usernames/create

{
  "name": string;
  "worded": "ONE" | "TWO";

  "userId": string;

  "isFav": boolean; # false
  "isCombo": boolean; # false
  "isUsername": boolean; # true
}
# generate favorite

# /prompt
favorites/create

{
  "aim": string;
  "name": string;
  "hobby": string;
  "animal": string;
  "background": string;
  "worded": "ONE" | "TWO";

  "userId": string;

  "isFav": boolean; # true
  "isCombo": boolean; # false
  "isUsername": boolean; # false
}
# generate combinations

# /prompt
combos/create

{
  "partner1": string;
  "partner2": string;
  "gender": string;

  "userId": string;

  "isFav": boolean; # false
  "isCombo": boolean; # true
  "isUsername": boolean; # false
}

# /gemini

chat

{
  "role": 'user' | 'system' | 'assistant';
  "content": string;
  "userId": string;
}

📰 license

the naamkaran server project is released under the MIT license.
developed & maintained by aminos. Copyright 2024 © aminos.


built with ♡ by

profile @aminoxix  ·  x @aminoxix