https://github.com/mogahidgaffar/laravel-backend-developer-challenge
This project is a solution to a Web Development Challenge, was presented by a company on LinkedIn, as a gateway to getting hired in their Back-End Developer Job , thats should be experienced in Laravel Frmk and building, securing and documenting professional Rest APIs.
https://github.com/mogahidgaffar/laravel-backend-developer-challenge
Last synced: 7 months ago
JSON representation
This project is a solution to a Web Development Challenge, was presented by a company on LinkedIn, as a gateway to getting hired in their Back-End Developer Job , thats should be experienced in Laravel Frmk and building, securing and documenting professional Rest APIs.
- Host: GitHub
- URL: https://github.com/mogahidgaffar/laravel-backend-developer-challenge
- Owner: MogahidGaffar
- Created: 2022-08-27T17:51:35.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-30T12:00:11.000Z (about 3 years ago)
- Last Synced: 2025-01-15T18:39:50.619Z (9 months ago)
- Language: PHP
- Homepage:
- Size: 1.96 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Our Problem
a UK estate agent named Verde Estates; which house of your employees,
It has difficulty keeping records of when and to which customers it will show. The company
manager, who wants to use his employees more effectively, especially wants to be able to
control the length of the processes to and from the appointments, the time allocated by the
employees for the appointment and all
these appointments without conflicts among themselves.
In order to solve these problems, the company needs an application that simulates the
scenario that we will describe in detail below.## Scenario
• Everyone working in the real estate agent should be able to register in this API system
and likewise should be able to login. (Login and register endpoints).
• On the appointment creation screen; appointment address, appointment date, attendee
customer's personal information (name, surname) and contact information (email,
address, phone number). (Appointment creation endpoint)
• Realtor is located at cm27pj zip code.
• The postal code sent as the appointment address and the postal code of the real estate
agent office should be measured and this value entered into a column in the
appointment table should be written
• Appointment duration is considered as 1 hour and the appointment address is given to
the real estate agent.
• The estimated time of departure from the office and the real estate office after the
appointment so that he can go should be able to login. (Login and register endpoints)
When it will be available, it will return to 2 separate columns in the appointments
table Should be written (Google maps API can be used for calculations )
• Appointment update and deletion endpoints should also be created.
• An endpoint for listing appointments should be created. This listing endpoint must be
filtered by date.## Technical Rules
• The project should be developed with “Laravel” as main framework and
with “repository pattern” design.
• You are expected to prepare an API for the needs identified in the scenario.
• In this direction, you should create a setup by considering the Users,
Appointments, Contacts database tables.
• Prepare documentation for the endpoints you have prepared and
• The project should be kept in a version management system (preferably gitlab)
and code changes should be made in part as commits, in English with details
about the transactions. You can choose the services that offer it.) You must
define the endpoints in a folder in Postman.
• JWT should be used for authentication processes and checks should be made
regarding token expire scenario.
• The project is completely on Restful communication and data transfer
architecture.
• PHP Laravel should be used for back-end technology.
• Appointment address and real estate agent's address should be followed only by
zip code. (It should be in the address column). Use open source zip code
services to obtain location information about addresses. All appointments must
take place in the UK.## Delivery Process
• Please share with us the sharing link of Collection, which you defined in
postman, the repo and endpoints where you kept the project during the delivery
process.
• Deploy the project to a remote server. (Free infrastructure like Heroku You can
choose the services that offer it.)
• For running the project and necessary details, please readme in the repo keep
your file up to date## Project Development
This project is designed to measure your perspective on events, your
technical knowledge, and the solutions you bring to problems. Please advance the
development process accordingly.#### CRUD blades screenshots
#### GetAll appointments Endpoint
#### GetOne appointment Endpoint
#### create new appointment Endpoint
#### Update appointment Endpoint
#### Delete appointments Endpoint
#### Jwt auth register Endpoint
#### Jwt auth login Endpoint
## Built With
* Laravel
* Bootstrap
* Baldes
* Mysql DB## Installation
Below is how you can instruct your audience on installing and setting up your app
1. Clone the repo
```sh
gh repo clone MogahidGaffar/Laravel-backend-developer-challenge
```
2. Install NPM packages
```sh
npm install
```
3. composer update
```sh
composer update
```3. Database Migrattion
```sh
php artisan migrate
```
3. Server establish
```sh
php artisan serve
```## Contact
Mogahid Gaffar - mogahidgaffar@gmail.com