Skip to content

aamorimsimoes/Backend-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Company App

GitHub last commit
GitHub issues GitHub closed issues
GitHub top language

Final backend project for Fullstack Web Developer Course

An App with four basic functions of persistent storage CRUD previously designed with an entity relationship diagram MySQL Database. The application will allow the user to register, receiving an email sended by PHPMailer and validating it. Login in the reserved area, adding and editing information accessible to the community / company.

Registered users are separated with different levels of access and permissions:

User:

This permission level allows access to basic functionalities such as adding and editing news and products which are also available at the home page for detailed reading and edit profile info; All information submitted by the user has the status "review" for later validation by the admin and publication on the home page;

Admin:

This permission level allows access to two additional sections: users dashboard and generator.

  • Users dashboard allows you to manage access levels, if the user is active or blocked and export data generating a PDF with active users using FPDF library;
  • Generator allows you to feed a field like news, products and users using Faker library for the purpose of testing;

Also allows you to change news and products state (draft, archived, review or published) and manage the status of those users as active or blocked and permission level, admin or user;


Installation / Usage

  1. Clone the repository:
$ git clone https://github.com/aamorimsimoes/backendProject.git
  1. Install npm dependencies:
$ npm install
  1. Install composer dependencies:
$ composer i
  1. Run Gulp (since the browsersync is integrated with task runner Gulp it is possible to create a personalised test environment)
$ gulp
  1. Login
Login Username Password
Admin admin@company.com 12345
User user@company.com 12345
  1. Enjoy it!