ColoredCow / portal

A hub-and-spoke platform for organizations to effectively manage their operations and data. Uses GSuite.
MIT License
55 stars 51 forks source link

Phase 1.1 CodeTrek Module #2736

Closed Ayush8923 closed 1 year ago

Ayush8923 commented 1 year ago

Feature Suggested By @Ayush8923

Parent Issue:- https://github.com/ColoredCow/portal/issues/2704

Related Issue https://github.com/ColoredCow/portal/issues/2734

Is your feature request related to a problem? Please describe. In ColoredCow, CodeTrek is a journey that most of the interns do. In it, they learn the basics of software development and hone their skills. Now, we want to track and capture this journey of all the interns in Portal. This will help us to monitor the progress of each individual and see where we can or they can do better.

For this, we need to introduce Codetrek Module in Portal.

Point of contact for guidance @GauravGusain98

GauravGusain98 commented 1 year ago

Action Items

Basics - 1 pointer

Laravel Modules - 1 pointer

Add Home page - 1 Pointer

nishant22029 commented 1 year ago

models •Models are used for creating and managing database tables. •Models are used to query the database, insert, update and delete data. •Models allows developers to write less code and make their applications more efficient and maintainable. •Models also help to keep database normalized, which helps to reduce data redundancy, improve query performance. •Models are created to represent tables in the database.

views •Views in Laravel are used to display the user interface of a web application. •Views contain the HTML and frontend markup and logic. •Views are used to separate the logic and presentation of an application to keep the business logic and presentation separate. • Views also allow us to reuse the same logic and presentation across different parts of the application.

Rotes •Routes in Laravel are used to create a mapping between url paths and the controller actions that should be executed when a user visits that url. •By using routes, we can easily create our own custom urls and link them to a specific controller action. •Routes also make it easier to test our application when we can create routes for each action.

Controllers •Controllers are used to organize and manage the logic behind the application. • They are responsible for handling the users requests, processing the data, and returning the response. •Controllers are responsible for interacting with models and views, retrieving data from the database, and performing various other tasks. • Controllers can also used to help with authentication and authorization, as well as access control.

Service files •Service files are used to create classes that organize tasks and logic into a single location. •Service files are particularly useful for tasks such as sending notifications, sending emails, or interacting with an external API. •Services files help us to separate the application logic from the controller or view layer. •Services files can be used to store any type of logic, whether it be business logic, utility functions, or external API integ rations

Modules •Modules are packages of code that can be used to extend the functionality of the core application •They provide additional functionality to the Laravel framework that would otherwise require a lot of time and effort to build from scratch. •Modules are also used to help keep the application modular, which makes it easier to debug and maintain. •Different modules can be used to make changes to the application quickly, as they are separated from the other parts of the application.. • Modules helps to structure the application in a logical way and make it easier for developers to understand and maintain the code.