Bienvenue sur le répertoire de code du site du Référentiel National des Bâtiments (RNB)
Si vous souhaitez accéder au répertoire contenant les ressources concernant la construction du standard du référentiel dans le cadre du groupe de travail CNIG sur le thème du bâiment, c'est par ici
Si vous souhaitez accéder au répertoire de code contenant le coeur technique du projet (imports, API, logique métier), rdv ici
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
In order to run the project, you will need to specifiy some information, which can be done using a .env
file.
This file will have to hold the following information:
NEXT_PUBLIC_API_BASE
: the url of the bat-id api
So your .env
file should look like something similar to:
NEXT_PUBLIC_API_BASE=my-url
The file should be placed at the root folder of your local copy of the project.
This Next.js app is deployed using the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
Distributed under the Apache 2 License. See LICENSE
for more information.