Build a web application from a JSON configuration with Engine by La Tech Force.
- Bun v1.2 or later
Generate a new project from this template, clone it, install project dependencies, and start hacking:
$ git clone https://github.com/latechforce/engine-starter-kit.git example
$ cd ./example
$ bun install
$ bun start
The app will become available at http://localhost:3000/ (press q + Enter to exit).
You can find the Open API documentation at http://localhost:3000/api/docs (press q + Enter to exit).
IMPORTANT: Ensure that VSCode is using the workspace version of TypeScript and ESLint.
The project is configured to be deployed to Scalingo using GitHub Actions.
You can create a Scalingo account using our referral link.
You have to create a new Scalingo API token to use in the repository settings in actions secrets.
You need to setup the GH_TOKEN and SCALINGO_API_TOKEN environment variables in the repository settings in actions secrets.
The project is configured to be released on Github with semantic commit messages. Each commit will trigger a new release on Github and a new deployment on Scalingo.
For examples:
chore(release): update dependencies
This will run the tests and stay on the same version v1.0.0.
fix(release): fix release
This will run the tests and create a new release on GitHub with the next version v1.0.1.
feat(release): add new feature
This will run the tests and create a new release on GitHub with the next version v1.1.0.
BREAKING CHANGE: add new feature
This will run the tests and create a new release on GitHub with the next version v2.0.0.
More information about semantic commit messages can be found here.
bun run format— Format the code using Prettierbun run lint— Validate the code using ESLintbun run build— Compiles and bundles the app for deploymentbun run start— Launches the app in development mode onhttp://localhost:3000/bun run test— Run unit tests with Bun
bun upgrade— Bump Bun to the latest versionbun update— Update Node.js modules (dependencies)
Copyright (c) 2024-present Thomas JEANNEAU, La Tech Force (thomas.jeanneau@latechforce.com). This source code is licensed under the Fair Use License found in the LICENSE file.