Code Monkey home page Code Monkey logo

opcp7camarabackend's Introduction

GROUPOMANIA

Repo Back End du réseau social interne d'entreprise Groupamania

Installation

  npm install

Créer un fichier .env à la racine du dossier backend en ajoutant vos informations de connexion pour le token et la base de donnée :

NODE_ENV=development
PORT=8000
API_URL=127.0.0.1
PRIVATEKEY="CUSTOM_PRIVATE_KEY"
DB_USERNAME="root"
DB_PASSWORD="PASSWORD"
DB_DATABASE="DATABASE_NAME"

Créer la base de donnée (Vous devez au préalable avoir installé MySql sur votre ordinateur) : Solution 1 :

npx sequelize-cli db:create

Initialiser la base de donnée :

npx sequelize-cli db:migrate
npx sequelize-cli db:seed:all

Solution 2 : Importer la bdd groupomania.sql fournie à la racine du projet.

Initialisation du serveur et connexion à la base de donnée

  nodemon server.js

Bonne visite. Log admin : [email protected] mdp : 1234

opcp7camarabackend's People

Contributors

sparkddr avatar

Watchers

 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.