https://github.com/aminoxix/naamkaran-server
न: backbone of namepicker.ai
https://github.com/aminoxix/naamkaran-server
aminos namepicker
Last synced: 3 months ago
JSON representation
न: backbone of namepicker.ai
- Host: GitHub
- URL: https://github.com/aminoxix/naamkaran-server
- Owner: aminoxix
- Created: 2024-08-18T09:57:54.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-30T19:02:18.000Z (6 months ago)
- Last Synced: 2025-01-09T13:11:43.308Z (5 months ago)
- Topics: aminos, namepicker
- Language: TypeScript
- Homepage: https://naamkaran-backend.onrender.com
- Size: 186 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Backbone of [namepicker.ai](https://github.com/aminoxix/namepicker.ai)
## Installation
```bash
$ pnpm install
```## Running the app
```bash
# development
$ pnpm run start# watch mode
$ pnpm run start:dev# production mode
$ pnpm run start:prod
```# Routes
```bash
# /user
create{
"id": string;
"email": string;
"username": string;
}
``````bash
# generate username# /prompt
usernames/create{
"name": string;
"worded": "ONE" | "TWO";"userId": string;
"isFav": boolean; # false
"isCombo": boolean; # false
"isUsername": boolean; # true
}
``````bash
# 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
}```
```bash
# generate combinations# /prompt
combos/create{
"partner1": string;
"partner2": string;
"gender": string;"userId": string;
"isFav": boolean; # false
"isCombo": boolean; # true
"isUsername": boolean; # false
}```
```bash
# /geminichat
{
"role": 'user' | 'system' | 'assistant';
"content": string;
"userId": string;
}
```## 📰 license
> the **naamkaran server** project is released under the [MIT license](https://github.com/aminoxix/naamkaran-backend/blob/main/LICENSE).
developed & maintained by aminos. Copyright 2024 © aminos.
### built with ♡ by