Aucune description

Olivier Massot d86da406a8 add pm2 configuration il y a 4 ans
.output fbcd6d052d BTTF-51 il y a 4 ans
assets 82bb7d3145 Merge branch 'feature/BTTF-20' into develop il y a 4 ans
components 27cc1c141a BTTF-65 il y a 4 ans
config fbcd6d052d BTTF-51 il y a 4 ans
lang 27cc1c141a BTTF-65 il y a 4 ans
layouts fbcd6d052d BTTF-51 il y a 4 ans
middleware 73aef4ad10 post reread fixes il y a 4 ans
models 82bb7d3145 Merge branch 'feature/BTTF-20' into develop il y a 4 ans
pages 8c5ff46645 fix après merge il y a 4 ans
plugins 1f5a51e233 contact points: implements validation, create email and phone input il y a 4 ans
services 27cc1c141a BTTF-65 il y a 4 ans
static 1e72fc2bce page subscription ok il y a 4 ans
store 27cc1c141a BTTF-65 il y a 4 ans
tests 432d5dca46 BTTF-51 test il y a 4 ans
types 27cc1c141a BTTF-65 il y a 4 ans
use 27cc1c141a BTTF-65 il y a 4 ans
.babelrc b9a8ff33d0 Initial commit il y a 5 ans
.editorconfig b9a8ff33d0 Initial commit il y a 5 ans
.eslintrc.js c163521422 vuex-orm poc init il y a 5 ans
.gitignore 432d5dca46 BTTF-51 test il y a 4 ans
.gitlab-ci.yml 7534d861d9 lint and minor refactoring il y a 4 ans
README.md d86da406a8 add pm2 configuration il y a 4 ans
ecosystem.config.js d86da406a8 add pm2 configuration il y a 4 ans
jest.config.js 6034fff251 BTTF-58 il y a 4 ans
jsdoc.json 3144f4862a config + rights + docs + tests + i18n il y a 4 ans
nuxt.config.js 7cd5f3e733 apply eslint format fixes il y a 4 ans
package.json 1c67af0c68 Merge branch 'develop' of git@gitlab.2iopenservice.com:vincent/admin.git il y a 4 ans
tsconfig.json d84b358606 add module nuxt-image il y a 4 ans
yarn.lock 8c5ff46645 fix après merge il y a 4 ans

README.md

admin

pipeline status coverage report

Frontend Opentalent développé avec Vue.js 2 + NuxtJs 2

A voir:

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

# generate doc
$ yarn docs

For detailed explanation on how things work, check out Nuxt.js docs.

Déployer comme un service

Prérequis : PM2 doit être installé de manière globale (https://nuxtjs.org/deployments/pm2/)

Pour déployer le projet en mode SSR :

yarn build
pm2 start

Vérifier le statut avec :

pm2 show app

On pourra ensuite interagir avec le service ainsi :

pm2 restart app
pm2 stop app
pm2 logs app

Structure du projet

Répertoire Rôle
assets Contient les fichiers style et medias
components Les différents composants graphiques qui composent l'application
config La configuration de l'application
lang Les fichiers de traduction
layouts Layouts des pages
middleware Code exécuté avant le rendu des pages (ex: pour vérifier l'authentification)
models Définition des entités (ou modèles)
node_modules Modules node installés via npm
pages Définition des pages qui composent l'application
plugins ...
services Rassemble les classes utilitaires non graphiques
static Ressources statiques et publiques
store Le store et ses composants servent d'entrepôt de donnés, et s'assurent de la cohérence de celles-ci
tests Regroupe les tests (unitaires, end-to-end...)
use ...