Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/turskyi/nextjs_gpt3
Politer AI is a web app that uses GPT-3.5, a powerful AI model, to make messages more polite and friendly.
https://github.com/turskyi/nextjs_gpt3
css-modules eslint nextjs openai prettier typescript vercel
Last synced: 30 days ago
JSON representation
Politer AI is a web app that uses GPT-3.5, a powerful AI model, to make messages more polite and friendly.
- Host: GitHub
- URL: https://github.com/turskyi/nextjs_gpt3
- Owner: Turskyi
- Created: 2023-10-01T01:08:35.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-20T23:11:48.000Z (10 months ago)
- Last Synced: 2024-04-18T07:20:39.378Z (9 months ago)
- Topics: css-modules, eslint, nextjs, openai, prettier, typescript, vercel
- Language: TypeScript
- Homepage: https://www.politerai.com
- Size: 1.99 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua)
![Vercel Deploy](https://therealsujitk-vercel-badge.vercel.app/?app=nextjs-gpt3-beta&style=plastic)# Politer AI – web app
This is a [Next.js](https://nextjs.org/) project bootstrapped
with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).**Politer AI** is a web app that uses GPT-3.5, a powerful AI model, to make messages more polite and friendly.
Type your message and click the button to see the result.
You can use it for any communication that needs politeness and friendliness.
No registration or personal data needed, and it is free.## PROJECT SPECIFICATION
• Programming language: [TypeScript](https://www.typescriptlang.org);
• SDK: [Next.js](https://nextjs.org);
• Version control system: [Git](https://git-scm.com);
• Git Hosting Service: [GitHub](https://github.com);
• CI/CD: [Vercel](https://vercel.com/features/previews) is used to
deliver the new releases to the production environment after every push to the **master** branch;• RESTful API: https://platform.openai.com/docs/api-reference;
• Architectural pattern:
[Monolith](https://learn.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/common-web-application-architectures#all-in-one-applications);• Screenshot:
## Getting started
To run this project locally, you must have Node.js on your machine.
First, run the development server:```bash
npm run dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed
on [http://localhost:3000/api/polite](http://localhost:3000/api/polite).The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated
as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and
load Inter, a custom Google Font.• **Code Readability:** code is easily readable with no unnecessary blank lines, no unused variables
or methods, and no commented-out code, all variables, methods, and resource IDs are descriptively
named such that another developer reading the code can easily understand their function.## Credits
This project is based on
the [Build and Deploy a GPT-3 App in Next.js in 1 Hour (ChatGPT,
TypeScript)](https://youtu.be/5i1Q2GSqidU?si=yJQPo4ToK31t9wEy)
by [Coding in Flow](https://github.com/codinginflow) YouTube channel.
All credit goes to the original author [Florian Walther](https://github.com/florianwalther-private).
I only followed
along and made some minor changes.