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.
- Test Server: https://example-api.localscope.dev
- API Docs: https://example-api.localscope.dev/api-documentation.html
- OpenAPI specification: https://example-api.localscope.dev/openapi.yaml
- Clone the repo
- Run
composer install
- Run
php artisan migrate
- Run
php artisan serve
Feel free to make any suggestions, clone it and use it either for your project or for learning purposes.
This project is an open-source software licensed under the MIT license.
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.
- 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
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.
You will have 7 days to complete the challenge, although it is a 3-hours task.
English only
You are free to use any programming language and framework you want, of course, based also to the job position you are applying to.
- 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.
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