Welcome to Dracarys, a dragon management system! This project allows you to register, edit, view, and delete dragons easily and intuitively. 🚀
Make sure you have the following tools installed:
Follow these steps to set up the project locally:
-
Clone the repository:
git clone https://github.com/your-username/dracarys.git
cd dracarys
-
Install the dependencies:
npm install or yarn install
-
Start the development server:
npm run dev or yarn dev
-
Open the project in your browser:
src/
├── app/
│ ├── layout.js # Global layout of the project
│ ├── page.js # Home page
│ ├── dragons/ # Dragons module
│ │ ├── [id]/page.js # Dragon details page
│ │ ├── new/page.js # Dragon registration page
├── components/ # Reusable components
│ ├── Navbar.js # Application navbar
│ ├── DragonForm.js # Form for dragon registration/editing
├── styles/ # Style files (CSS/SASS)
├── mocks/ # Mock API handlers for testing
└── tests/ # Unit and integration tests
- Secure Login: Only authenticated users can access the system.
- Dragon Management: Create, edit, view, and delete dragons.
- Responsive Interface: Fully adapted for mobile devices.
- Form Validation: Visual feedback for invalid inputs.
- Automated Tests: Quality assurance with unit and integration tests.
To run the tests, execute:
npm test or yarn test
The tests include:
Unit tests for individual components. Integration tests to verify data flow and functionality.
This project is ready for deployment on Vercel. Follow these steps:
-
Install the Vercel CLI:
npm install -g vercel
-
Log in:
vercel login
-
Deploy the project:
vercel
-
The production link will be generated automatically.
This project is licensed under the MIT License.
Contributions are welcome! Feel free to open issues or submit pull requests. 😄