SetUp

Mise en place du projet

Initialisation

Se placer à l'endroit ou l'on veut créer l'application

Clone d'un template AdonisJs pour l'API (backend) et NuxtJs (frontend)

git clone https://github.com/Izoxy/adonis-nuxt-template.git Project

Aller au projet

cd ./Project

Construction du template

Script exécuté par la commande :

  • build-template : cd ./server && yarn install && yarn build && node ace migration:run && cd ../client && yarn install

yarn build-template

Démarrer le projet

Pour développer avec ce template vous devrez ouvrir 2 threads en même temps :

  1. Ouvrez votre projet dans un terminal ( "tab" ouvrir avec powershell, bash...)

  2. Ouvrez votre projet dans votre IDE ( Visual studio code ici )

  3. Typescript compilation

  4. Start your server

Last updated