Git Product home page Git Product logo

cogip's Introduction

COGIP project

This project was realized during our web development training at BeCode in February 2023.

Cogip_Home_Mobile Cogip_Login_Mobile Cogip_Signup_Mobile Cogip_Dashboard_Mobile Cogip_Form_Mobile

Team

What is COGIP ?

The COGIP is a company which we don't know a lot about apart that they produce Jean-Michel toys and that they are serious workers check. They also have incredible employees within their rank.

Missions

Our general mission was to code a web application to manage all the COGIP data.

Back-end

  • Install all the dependencies using composer
  • Learning PHP (POO), MVC Structure
  • CRUD
  • Form Validation & Sanitization
  • Database management

Front-end

  • Respect the given mockup
  • Mobile First
  • Using npm
  • Google Ligthouse Test
  • Semantics

App description (fonctionnalités, langages)

Languages and employed technologies

Languages, principles & Frameworks

  • PHP
    • OOP
    • Namespaces
    • MVC
    • RESTFul APIs
  • SQL
    • PDO
  • HTML
  • SASS
  • React

Libraries

  • Bramus Router
  • Filp/Whoops
  • PHPFaker
  • PHPDotEnv
  • CarbonDate
  • React Pagination

Features

The Welcome page displays the list of the last 5 invoices (ordered by date), of the last 5 contacts and of the last 5 companies encoded in the database. This page also displays a link to the providers page and another one to the client page.

The Companies page display a list of all companies in alphabetical order.

The Invoices page displays a list of all the invoices from the most recent to the oldest.

The Contacts page displays a list of all the contacts in alphabetical order.

The Dashboard page displays direct access to the last five invoices (number invoice, date, company), last five companies (company name, its type) and last five contacts (first and last name, email, company name).

Installation

Prerequisites

You must have installed on your computer:

  • PHP
  • Composer
  • React
  • Node.Js (npm)

Clone this repository:

git clone https://github.com/gollumeo/cogip.git

Back-end

Install all the dependencies using composer:

composer install

Separate the backend folder, so you can access the API directly from the browser. Run the PHP Server:

php -S localhost:8000 -t public

Or you can access it from the hosted website directly. Don't forget to refer to the API documentation!

Front-end

Install all the dependencies using npm:

npm install

Run the React Server:

npm run lh

Have fun browsing!

And if you ever want to build your own version of the app, you can run:

npm run build-r

Now you can serve it with a static server:

npm install -g serve
serve -s build

I hope you enjoy our project! 😄

We are, of course, open to issues and improvements, so feel free to contribute!

cogip's People

Contributors

gollumeo avatar mathildecornelis avatar milo-star avatar benprst avatar dcoppee avatar

Stargazers

 avatar

Watchers

 avatar

cogip's Issues

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.