Skip to content

LocalscopeSoftware/API-example-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Localscope API Example Project - Built with Laravel PHP

This project is a simple and basic example of an API. The project is also a simple coding challenge that we use in Localscope for our new backend developers. You can clone it and use it in any way you want or try some requests using Postman. Below, you can also find the coding challenge description and instructions.

Install

  1. Clone the repo
  2. Run composer install
  3. Run php artisan migrate
  4. Run php artisan serve

Contributing

Feel free to make any suggestions, clone it and use it either for your project or for learning purposes.

License

This project is an open-source software licensed under the MIT license.

Backend Coding Challenge Instructions

Description

Design a public API for a project tracker app. Programmers can have multiple projects that work on and projects can belong to multiple programmers. Programmers can be assigned to or removed from projects.

Tasks

  • Create programmers model. Programmers have ‘name’ & ’email’ fields.
  • Create project model. Projects have ‘title’, ‘startDate’, ‘deadLineDate’ & ‘budget’
  • Create programmers endpoint for getting a list of all the programmers.
  • Create programmer CRUD endpoints.
  • Create projects endpoint for getting a list of all the projects.
  • Create project CRUD endpoint.
  • Create endpoints for assigning-removing a programmer to/from a project.
  • In programmers endpoint results you have to include the projects that are assigned to programmers and the date assigned to them.
  • All resources must implement CRUD endpoints

Deliverables

A Github repository, uploaded to your Github profile, with the full code and a readme file. You will have to be able to run the project on your local machine and run actions-tests using Postman.

Days for completing the challenge

You will have 7 days to complete the challenge, although it is a 3-hours task.

Language

English only

Programming Language - Framework

You are free to use any programming language and framework you want, of course, based also to the job position you are applying to.

Evaluation Criteria

  • Best practices.
  • Code readability and optimisation.
  • Some secret points in the app design, so the app will work correctly. We would like to hear from you more about these, if you deal with them.

More about Localscope

Localscope is a software development agency located in Athens Greece. If you want to work with us, or you are looking for software development services, don't hesitate to contact us!

You can learn more about us here: https://localscope.dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages