terraform
loopback-next-lean-starter
A lean approach for loopback-next projects.
Major modifications are:
- Changed code-formatting to eliminate semicolons and trailing commas.
- Added
openapi-to-graphql-cli
for GraphQL server auto-generation. - Implemented
dev
andwatch
scripts supporting live reloading. - Pruned all the linting scripts to a single
lint
script. - Removed other non-essential scripts.
- Minimized
.vscode
config.
Developer's Guide
We use Visual Studio Code for developing LoopBack and recommend the same to our users.
VSCode setup
Install the following extensions:
Development workflow
Visual Studio Code
- Start the build task (Cmd+Shift+B) to run TypeScript compiler in the background, watching and recompiling files as you change them. Compilation errors will be shown in the VSCode's "PROBLEMS" window.
Other editors/IDEs
- Open a new terminal window/tab and start the continous build process via
npm run watch
. It will run TypeScript compiler in watch mode, recompiling files as you change them. Any compilation errors will be printed to the terminal.