An open API service indexing awesome lists of open source software.

https://github.com/tolgee/next-example

Example application Next.js and Tolgee
https://github.com/tolgee/next-example

Last synced: 11 months ago
JSON representation

Example application Next.js and Tolgee

Awesome Lists containing this project

README

          


🚨🚨🚨 This repo is just a dummy 🚨🚨🚨

Submit issues in the
monorepo
or
check the source code here.

# Example application of using Next with Tolgee

[Tolgee](https://tolgee.io)

This application is using Create Next App. To learn more about Tolgee, visit [https://tolgee.io](https://tolgee.io).

## To run the app in dev mode

To install dependencies, run:

npm install

To run the app in dev mode with in-context translating mode:

1. Create a project on [Tolgee Cloud](https://app.tolgee.io) or use
self-hosted [Tolgee Server](https://github.com/tolgee/server).
2. Generate an API-KEY
3. Copy file `.env` to `.env.development.local`
4. Set `NEXT_PUBLIC_TOLGEE_API_KEY` to API key obtained in previous step
5. Run `npm run dev`
6. Have fun

## To run the app in production mode

To build the app for production run:

npm run build

To start local server with build app, run:

npm run start

---

This repository is automatically re-published from [Tolgee JS monorepo](https://github.com/tolgee/tolgee-js).