My first project, it is a Google Translate Clon powered by OpenAI API, made with NextJS, Tailwind and TypeScript. A little of validations with Zod.
To deploy this project run
npx next dev
# or
npm run dev
# or
yarn dev
# or
pnpm devOpen http://localhost:3000 with your browser to see the result
POST /api| Parameter | Type | Description |
|---|---|---|
fromLanguage |
string |
Required. The Language code as 'en' |
toLanguage |
string |
Required. The Language code as 'es' |
text |
string |
Required. The text to translate |
To run this project, you will need to add the following environment variables to your .env file
OPENAI_API_KEY
If you have any feedback, please reach out to us at dchilo22@gmail.com
