Giter Site home page Giter Site logo

1j1s-front's Introduction

1jeune1solution - front + BFF

Technologies

  • Langage : TypeScript
  • Framework front : NextJS
  • Style : CSS Modules
  • Package Manager : npm
  • Gestion éditoriale : Strapi (cms headless)
  • Déploiement : Scalingo

Liens utiles :

Conventions de code

Pré-requis

Environnement de développement

Lancez redis (nécéssaire au démarage du projet) via docker, fixez votre version de node (si vous avez nvm), installez les dépendances, copiez le .env.test vers .env puis éditez les valeurs à votre convenance ensuite lancez le projet en mode développement.

docker-compose up -d
nvm use
npm ci
cp .env.test .env
$EDITOR .env
npm run dev

Vous pouvez ensuite accéder à ces pages

Environnement de production

Pour reproduire les comportements de production (cache, prébuild des pages…), vous devez d'abord lancer le build puis démarer le projet en mode classique.

npm run build
npm run start

Commandes utiles

Commande Fonction
npm run lint Vérifie le formatage du code
npm run lint:fix Formater le code
npm run test Lance les tests
npm run tw Lance les tests avec un watcher
npm run test:coverage Lance les tests en indiquant le test coverage
npm run release Versionner le code
npm run dev Lance le site en mode développeur (avec hot reload)
npm run start Lance le site en mode fixe (sans hot reload)
npm run build build le site comme en production
npm run analyze Analyze la taille du site et des packages
npm run analyze:server Analyze la taille du site et des packages côté serveur
npm run e2e Lance les tests cypress (nécéssite que le site tourne)
npm run e2e:open Lance les tests cypress (nécéssite que le site tourne)

1j1s-front's People

Contributors

alielamrani avatar drastal avatar floby avatar github-actions[bot] avatar liquiditguy avatar naorid avatar octo-clem avatar octohuguesdumont avatar olivocto avatar pandoraaa avatar paulgallocto avatar renovate[bot] avatar sefrancois avatar sergen-kovar avatar toma-benguigui avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.