GithubHelp home page GithubHelp logo

caritas's Introduction

Caritas Sant Josep de Badalona

Team

Description

The aim of this project was to build the webpage for Caritas of S. Josep of Badalona for the Tarjetas Monedero project. The project requirements were:

  • A webpage to display information about caritas S.Joseph that highlights the Donate Action.
  • The webpage should have 3 main sections: Homepage, about and how to participate.
  • Must have a call to action so users can easily find information on how to donate to the project.
  • The application should serve as a template for other similar organizations.
  • Must have a backoffice where the organizations can manage the content namely: contact details, bank account, About and How to participate sections.
  • The design should mainly follow the style of Caritas, but customized in the details.

Methodologies of work

  • Agile following the Scrum framework with sprints of one week
  • Test Driven Development
  • Pair Programming

Technologies

Required

  • PHP 7.4
  • Composer ^2.0
  • npm ^6.14

Dependencies

Getting Started

  • instal all composer packages

    composer install
    
  • create a .env file and set up your database

    cp .env.example .env 
    
  • generate artisan key

    php artisan key:generate
    
  • run all the migrations

    php artisan migrate
    
  • run all the seeders

    php artisan db:seed
    
  • install all npm packages

    npm install
    
  • build

    npm run dev
    

Run Tests

php artisan test
  • For setting up Dusk testing you may need another .env file for that case

Project Structure

Backoffice

  • All actions performed by Admin are:

    • Served by main path /dashboard
    • Also accessible under /login
    • Protected by Admin middleware
  • Admin user can:

    • create organization Profile
    • update organization Profile
    • upload and change organization Logo
    • upload content to the sections in both languages
    • upload a image for each section

Frontend Structure

  • Visual elements are created as components for better maintenance
  • Colors and Fonts available through tailwind are limited to the ones used in the project (see tailwind.config.js)

Public page

  • There is only one main view landing.blade.php

  • All other content is structured in components that are rendered on the same page.

  • In order for the Webpage to show, some contents MUST be present in the database first:

    • Organization Profile Details
    • Qui Som
    • Qui Pots fer Tu
  • Following the instructions for achieving this.

To customize the page the organization needs to:

  • Admin needs to Register (under /register)
  • This route will be available only once
  • Admin can then login
  • Admin then needs to create the organization profile
  • Upload Logo
  • Once the profile is created, Admin can only update the profile (can't be deleted)
  • In order to the webpage to be able to render the Admin MUST FIRST add the content and the images for all the sections
  • If an Admin forgets his password, could be recovered through the forgot password link.

caritas's People

Contributors

vanessacor avatar alvarotaboada1 avatar renejfc avatar pilpod avatar g4br1trz 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.