Leonard Smith e208461642 | ||
---|---|---|
app | ||
bootstrap | ||
config | ||
database | ||
public | ||
resources | ||
routes | ||
tests | ||
.env.example | ||
.gitattributes | ||
.gitignore | ||
.styleci.yml | ||
README.md | ||
artisan | ||
composer.json | ||
composer.lock | ||
package.json | ||
phpunit.xml | ||
server.php | ||
webpack.mix.js |
README.md
Biblical Resources for Translators API
Laravel
The API is build in Laravel, a PHP framework. To get the backend up and running locally Laravel Homestead is the recommended approach. Laravel is currently on version 8, but our system is using the version 7.x series. Just make sure you grab the correct version to avoid any possible snags that could show up across major version.
Homestead uses Vagrant which is a virtual machine tool to make building and maintaining VMs easier. By using a VM to host the API server, we can avoid potential conflicts with the local development environment of our respective host machines. The files under development are stored in local folders on the host machine which are mapped to folders on the guest VM. The documentation on Vagrant and Homestead are quite helpful.
If Homestead is not an option, you may follow the installation directions in the Laravel documentation to install
Laravel directly on your local machine and run php artisan serve
. You will need to alter the Frontend's environment
configuration to point to the correct server.