github.com/grdmnt/grocerun-api
main / published Jan 29, 2025 / repository
grocerun-api
TODO: Write a description here
Project Structure
grocerun-api/
├── src/
│ ├── core/ # Domain/Enterprise business rules
│ │ ├── entities/ # Business objects and value objects
│ │ ├── repositories/ # Repository interfaces/contracts
│ │ ├── use_cases/ # Application business rules
│ │ └── jobs/ # Background job definitions
│ ├── infrastructure/ # External interfaces implementation
│ │ └── persistence/ # Database and storage implementations
│ │ └── repositories/ # Concrete repository implementations
│ ├── interfaces/ # Interface adapters
│ │ ├── controllers/ # Request handlers and routing
│ │ ├── presenters/ # View/response formatting
│ │ └── serializers/ # Data serialization/deserialization
│ ├── web/ # Web-related components
│ │ ├── middlewares/ # HTTP middleware components
│ │ └── routes/ # Route definitions and handlers
│ ├── shared/ # Shared utilities and configurations
│ │ └── config/ # Application configuration
│ └── application.cr # Application entry point
├── scripts/ # Utility scripts
├── tasks/ # Task runners
├── spec/ # Tests
└── db/ # Database-related files
└── migrations/ # Database migration files
Installation
TODO: Write installation instructions here
Usage
TODO: Write usage instructions here
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/your-github-user/grocerun-api/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Gerard Montemayor - creator and maintainer
API
- Core
- Grocerun
- GrocerunApi
- Infrastructure
src/infrastructure/persistence/repositories/user_repository.cr
- Shared
src/shared/config/database.cr
- Web
src/web/routes/health_routes.cr