@ximatriarx/hasura
v1.0.2
Published
A Hasura project template
Downloads
6
Maintainers
Readme
A minimalistic Hasura project template preconfigured with Hasura, TypeScript, Express, GraphQL, ESLint, Prettier, Jest, Lint-Staged and Husky.
Status
Code
Project
Info
Statistics
Setup
npx @ximatriarx/hasura init
- Use it as a GitHub repository template.
- Clone it using
git clone https://github.com/XiMatriarx/hasura.git
. - Use
bin/init.sh
to create projects.
Usage
Hasura
docker-compose up -d
API
npm start
~ Start the project.npm run build
~ Build the project.npm run dev
~ Build the project in watch mode.npm run lint
~ Lint the codebase using ESLint.npm run style
~ Style the codebase using Prettier.npm test
~ Test the codebase using Jest.npm run docker
~ Build the project using Docker.npm run init
~ Initialize git hooks with Husky for Lint-staged.