A full-stack web application for DNA mutation analysis, featuring a Laravel (PHP) backend and an Angular frontend.
DNA Mutations App is designed to analyze, store, and visualize DNA sequence mutations. The application provides a robust backend API for processing and managing DNA data, and a modern frontend for user interaction and visualization.
- DNA Sequence Analysis: Submit DNA sequences and receive mutation analysis results.
- Data Storage: Utilizes MongoDB for flexible and scalable storage of genetic data.
- RESTful API: Backend exposes endpoints for sequence submission, mutation queries, and user management.
- Modern UI: Angular frontend for interactive data input, result visualization, and user experience.
- Testing: Comprehensive unit and integration tests for both backend and frontend.
- Backend: Laravel 12.x, PHP 8.2+, MongoDB, REST API, Sanctum authentication, Pest/PHPUnit for testing.
- Frontend: Angular 20.x, TypeScript, Tailwind CSS, Jasmine/Karma for testing.
This architecture allows for independent development and deployment of backend and frontend, supporting scalability and maintainability.
dna-mutations-backend/ # Laravel API backend
dna-mutations-frontend/ # Angular frontend
- Framework: Laravel 12.x
- Language: PHP 8.2+
- Database: MongoDB (via
mongodb/laravel-mongodb) - API: RESTful endpoints for DNA mutation analysis
- Authentication: Laravel Sanctum
- Install dependencies:
cd dna-mutations-backend composer install npm install - Copy
.env.exampleto.envand configure your environment variables. - Run migrations:
php artisan migrate
- Start the server:
php artisan serve
composer test— Run backend testsnpm run dev— Start Vite for asset building
- Framework: Angular 20.x
- Language: TypeScript
- UI: Tailwind CSS
- Install dependencies:
cd dna-mutations-frontend - Start the development server:
Visit http://localhost:4200.
ng serve
npm start— Start dev servernpm run build— Build for production
- Backend and frontend can be developed and run independently.
- For full-stack development, run both servers concurrently.
- Backend: Uses Pest and PHPUnit.
cd dna-mutations-backend composer test
- Backend: MIT (Laravel)
- Frontend: MIT