GithubHelp home page GithubHelp logo

nodereact's Introduction

NodeJS/React

yeah christmas

Fais ta liste au Père Noël !

type

Instructions

Forker le repo. A la fin du test, il faire une PR*.

Le dépôt contient les répertoires suivants:

  • front/ : Le projet en React (généré via create-react-app)
  • back/ : Le projet NodeJS (généré via express --pug --git)

Étape 1 - le back

Pour la partie back tu auras trois routes principales sur le / :

  • GET / : Récupération des cadeaux
  • POST / : Création du cadeau
  • DELETE / : Suppression du cadeau

Pour les données, tu as un fichier /models/Gift.js, tu peux repartir de ce fichier ou le supprimer, libre à toi de l'utiliser. Pour stocker les données, plusieurs solutions s'offrent à toi :

  • Une base MongoDB avec Mongoose
  • Une base SQLite avec Sequelize
  • Une base MySQL avec le module MySQL
  • Un fichier json qui tu iras éditer via le module fs

Étape 2 - le front

Pour le front tu devras :

  • Afficher l'ensemble des cadeaux
  • Ajouter la possibilité d'ajouter un cadeau via le formulaire présent
  • Au clic sur la croix du cadeau, pouvoir le supprimer

Sympa une belle liste, mais l'idée, c'est quand même que Santa la reçoive non ?

  • En utilisant NodeMailer, envoie un mail à ton Santa préféré, voilà son adresse: [email protected])

joy

nodereact's People

Contributors

florianpdf avatar

Watchers

 avatar  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.