Skip to content

Repository files navigation

Google Translate Clon with NextJS and TS

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.

Screenshots

App Screenshot

Deployment

To deploy this project run

  npx next dev
  # or
  npm run dev
  # or
  yarn dev
  # or
  pnpm dev

Open http://localhost:3000 with your browser to see the result

API Reference

Get all items

  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

Get item

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

OPENAI_API_KEY

Authors

Feedback

If you have any feedback, please reach out to us at dchilo22@gmail.com

About

Google Translate clon powered by OpenAI API, made with TypeScript, NextJS and Tailwind. Also a little of validations with Zod.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages