generated from betagouv/template-nextjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
113 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,18 @@ | ||
# template-nextjs | ||
# albert-docs | ||
|
||
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/betagouv/template/main) | ||
![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/betagouv/template) | ||
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/betagouv/albert-docs/main) | ||
![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/betagouv/albert-docs) | ||
|
||
Template minimal avec Next.js qui intègre les recommandations tech beta.gouv.fr. | ||
Minimalist UI for [albert-API](https://github.com/etalab-ia/albert-api/). Drop documents and query them with LLM. | ||
|
||
> ⚠️ Le [Système de Design de l'État](https://www.systeme-de-design.gouv.fr/) s'adresse **uniquement** aux développeurs et aux concepteurs, qu'ils soient agents publics ou prestataires pour des sites Internet de l'État (Ministères, Administrations centrales, Préfectures, Ambassades, etc.). cf [conditions d'utilisation](https://www.systeme-de-design.gouv.fr/utilisation-et-organisation/perimetre-d-application). | ||
## Start | ||
|
||
👉 Démo: https://betagouv.github.io/template-nextjs | ||
|
||
## Lancer le code | ||
|
||
Après avoir cloné le projet : | ||
|
||
### Développement | ||
|
||
```bash | ||
yarn # to install dependencies | ||
yarn dev # to run in dev mode | ||
``` | ||
|
||
Point your browser to [http://127.0.0.1:3000/template](http://127.0.0.1:3000/template) and start playing. | ||
|
||
### Tests | ||
|
||
``` | ||
# run unit tests with vitest | ||
yarn test | ||
# build, serve and launch playwright interactive end-to-end tests | ||
yarn e2e --ui | ||
# run storybook | ||
yarn storybook | ||
```sh | ||
export ALBERT_API_KEY=xxx | ||
yarn | ||
yarn dev | ||
``` | ||
|
||
## Projets connexes | ||
|
||
| projet | description | | ||
| --------------------------------------------------------------------------------------- | ----------------------------------------------------------- | | ||
| [inclusion-numerique/stack](https://github.com/inclusion-numerique/stack) | Stack DSFR + Next.js + OIDC | | ||
| [InseeFrLab/vite-insee-starter](https://github.com/InseeFrLab/vite-insee-starter) | Starter SPA Vite + DSFR + OIDC | | ||
| [betagouv/rails-template](https://github.com/betagouv/rails-template) | Template DSFR pour Ruby on Rails | | ||
| [betagouv/django-template](https://github.com/betagouv/django-template) | Template DSFR pour Django | | ||
| [codegouvfr/eleventy-dsfr](https://github.com/codegouvfr/eleventy-dsfr) | Template DSFR pour [eleventy](https://www.11ty.dev/) | | ||
| [codegouvfr/docsify-dsfr-template](https://github.com/codegouvfr/docsify-dsfr-template) | Template DSFR pour [docsify](https://docsify.js.org/#/) | | ||
| [sneko/dsfr-connect](https://github.com/sneko/dsfr-connect) | Themes DSFR pour bootstrap, vuetify, mui, infima, emails... | | ||
| [laruiss/create-vue-dsfr](https://github.com/laruiss/create-vue-dsfr) | Un starter Vue.js + Nuxt3 + DSFR | | ||
| [socialgouv/template](https://github.com/socialgouv/template) | Version initiale de ce template | | ||
## Related | ||
|
||
Projet créé avec [template-nextjs](https://github.com/betagouv/template-nextjs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.