Code Monkey home page Code Monkey logo

obij's Introduction

Obij - Restaurant

Alt text Alt text Alt text Alt text Solution e-commerce pour restaurant roles

  • abonnés, visiteurs, manager/admin

Features

  • Inscription, authentification, panier, commande

Avant propos

Ce projet est un challenge personnel pour maitriser vuejs et non une application complete. Il faut souligner que :

  • Le code n'est pas testé
  • Le code ne respecte pas formément les bonnes pratiques de developpement

Prérequis

  • MySQL 8 +
  • NodeJs

Config Base de données

  • Créez une base de données nommée obij
  • Remplacez les informations correctes de la base de données dans le fichier ./api/config/database.js
  • Importez dans MySQL le fichier SQL ./database.sql

Dossier client => le front end

Se positionner dans le dossier ./client et executer :

Config

npm install

Compilation demarrer l'application

npm run serve

Lancez dans votre navigateur : http://localhost:8081/

Dossier api => le backend API

Se positionner dans le dossier api et executer :

Config

npm install

Demarrer l'API

npm start

Tester l'API

Vous pouvez tester l'API en utilisant postman, il suffit d'importer le ficher ./doc/OBIJ.postman_collection.json.

Quelques améliorations possibles

  • Eviter les doublons dans le panier
  • L'interface utilisateur
  • Utiliser un ORM

obij's People

Contributors

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