# Next.js-applicatie als aangepaste frontend-vervanging

**URL:** https://meta.discourse.org/t/next-js-application-as-custom-front-end-replacement/196796
**Category:** Development
**Created:** [11 juli 2021 om 21:05 UTC](https://meta.discourse.org/t/next-js-application-as-custom-front-end-replacement/196796 "2021-07-11T21:05:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![LukasBombach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lukasbombach/32/227323_2.png) [@LukasBombach](https://meta.discourse.org/u/LukasBombach)
#### Post date: [11 juli 2021 om 21:05 UTC](https://meta.discourse.org/t/next-js-application-as-custom-front-end-replacement/196796/1 "2021-07-11T21:05:09Z")

</div>

I am sorry if this has been discussed before, but I could not find any posts related to this and the developer docs do not explain this either.

Instead of creating a theme by customizing the stock ember js app, i would like to create my own front end app (using next js).

I wonder if this is something that would be reasonable enough to do, or if this would require some hacky code.

If it is possible, is there any documentation for this? I really could not find anything.

Thank you,  
Lukas

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [11 juli 2021 om 23:07 UTC](https://meta.discourse.org/t/next-js-application-as-custom-front-end-replacement/196796/2 "2021-07-11T23:07:44Z")

</div>

I am familiar to quite a few tries of using Discourse as only an API and rewriting the whole front-end and it always end up badly, as people subestimate the sheer size of our front-end app. Also there is no versioned API, so while you can target our latest stable version and build your app in a few months, you will have go back every six months and fix all the compatibilities with the newly launched version.

> [@LukasBombach](#):
>
> If it is possible, is there any documentation for this? I really could not find anything.

The most common API endpoints are documented at [https://docs.discourse.org/](https://docs.discourse.org/).

---

<div class="post-metadata">

### Author: ![jordan.vidrine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan.vidrine/32/515563_2.png) [@jordan.vidrine](https://meta.discourse.org/u/jordan.vidrine)
#### Post date: [13 juli 2021 om 19:07 UTC](https://meta.discourse.org/t/next-js-application-as-custom-front-end-replacement/196796/3 "2021-07-13T19:07:42Z")

</div>

> [@LukasBombach](#):
>
> I wonder if this is something that would be reasonable enough to do

As a designer here at Discourse, I would say that creating an entirely new front end would not be reasonable or worth the effort. EmberJS while different, is very much like most front end frameworks in the way it works.

The emberJS community is also pretty helpful and vibrant as well. Id suggest using the time you would have devoted to building a new front end with NextJS to learn EmberJS 😄

After that, you’ll have a knowledge of two frameworks AND the ability to create custom themes & theme components for Discourse forums.

If that works for you, I’d start by taking a look at this popular & helpful topic.

> [@Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648):
>
> Discourse Themes and Theme Components can be used to customize the look, feel and functionality of Discourse’s frontend. This section of the developer guides aims to provide all the reference materials you need to develop simple themes for a single site, right up to complex open-source theme components. This introduction aims to provide a map of all the tools and APIs for theme development. If you prefer a step-by-step tutorial for theme development, jump straight to: Themes vs. Theme Compon…
