Bioteca is a web application to keep track of biological collections, focused on Mexico with data from CONABIO's enciclovida with all the species located in the Mexican territory. It was developed using the Laravel framework as the backend and VueJS 3 with InertiaJS as the frontend. It supports MySQL, MariaDB and PostgreSQL databases.
- PHP 7.4 or higher
- Node.js and npm (for the frontend)
- MySQL, MariaDB or PostgreSQL
- Composer
- Clone the repository to your local machine:
git clone https://github.com/rebjai/bioteca.git
- Navigate to the project directory:
cd bioteca
- Install the dependencies:
composer install
npm install
- Create a copy of the .env.example file and rename it to .env:
cp .env.example .env
-
Configure the database settings in the .env file to match your local MySQL, MariaDB or PostgreSQL setup.
-
Generate an application key:
php artisan key:generate
- Run the migrations and seeders:
php artisan migrate:refresh --seed
This will create the tables of taxonomical categories and the localities and also seed test data if the environment is not in production.
- Build the frontend
npm run dev
- Start the development server:
php artisan serve
The application should now be accessible at http://localhost:8000
.
The usage of the application is simple and intuitive, you can use the navigation bar at the top of the page to access different sections of the application.
The enviroment variable "USE_SSL" makes all calls https if is set to true and the enviroment is in production.
In case you want to build the project for production you can use:
npm run build
If you want to contribute to the development of Bioteca, please feel free to submit a pull request.
Bioteca is open-sourced software licensed under the MIT license.