Giter Site home page Giter Site logo

bovoyages's Introduction

BOVoyages

Getting Started

Introduction

This project has been made during our fullstack developper training. it is not a finished product but just a demonstration for educationnal purpose only.

Prerequisites

This project is based on Symfony and has external dependencies and uses CDNs so you must be connected to internet in order to make it work.

You have to have an installed version of MySQL on your computer too.

Installing

Once you have cloned the project, go to the root folder and open a terminal, then install Yarn dependencies running:

yarn install

Then, to install composer modules use the following command:

composer install

Database creation

In order to create the database, modify the .env file at the root of the project.

Modify the followng line according to your MySQL server parameters :

DATABASE_URL=mysql://<login>:<password>@127.0.0.1:3306/<database name>

Once done, create the database using Doctrine, back in the terminal run:

php bin/console doctrine:database:create

Then to create database tables:

php bin/console doctrine:migations:migrate

Database data injection

NB: This step is not mandatory, you can create all the data manually using the different menus of the app.

The project already contains fixtures, created with hautelook/AliceBundle fixtures generator, to automatically inject some data in the DB.

In order to inject this data, run the following command:

php bin/console hautelook:fixtures:load

This will automatically create 100 travels, 30 customers and 1 user.

User connection credentials are:

  • Login: root
  • Password: 123456789

Authors

License

This software is licensed under the MIT license (details here)

Known issues and todos

  • Travels

    • Add image management
  • Bookings

    • Fix the automatic selection of the customer when editing
  • Customers

    • Add a customer space page
  • All pages

    • Unformize the page title

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.