Hapijs Seed Mvc

screenshot of Hapijs Seed Mvc

hapi Seed Project: MVC, ES6, Gulp, Tests, Logging, Migrations, RDBMs, Documentation, etc.

Overview

The hapi Seed Project is a robust application skeleton designed for developers looking to quickly set up a hapi RESTful API. This project allows you to hit the ground running, minimizing setup time and maximizing productivity. With a sample ToDo List application already included, users can dive straight into crafting their core application features without the hassle of configuring everything from scratch.

Backed by essential tools and frameworks, this seed project encapsulates the latest trends in API development. It equips developers with everything needed for an efficient workflow, from database management to testing and documentation, ensuring a streamlined experience for both new and experienced users.

Features

  • ES6 ToDo List Example: Kickstart your project with a functional example showcasing the hapi framework's capabilities.
  • MVC File Structure: Organized in a familiar Model-View-Controller architecture, similar to frameworks like Rails and Laravel, making it easier for developers to navigate and manage their code.
  • Relational Database Support: Seamless integration with databases such as MySQL, PostgreSQL, and SQLite3, allowing developers to choose their preferred database environment.
  • Pre-configured Environments: Ready-to-use configurations for development, QA, staging, and production setups, streamlining the deployment process.
  • Continuous Integration Settings: Out-of-the-box support for Circle CI and Travis CI, enhancing the development workflow by facilitating automated testing and deployment.
  • Powerful Payload Validations: Utilizing the Joi validation library for robust data validation, ensuring that incoming data meets specified criteria.
  • Auto-generated Documentation: With Lout, developers can easily generate documentation for their APIs, aiding in understanding and maintaining the project.
  • Healthcheck End-point: Built-in endpoint to monitor application health and ensure that everything is running smoothly.
eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

gulp
Gulp

Gulp.js is an old but popular site building tool that automates various repetitive development tasks in web development, such as compiling Sass, minifying JavaScript, and optimizing images.