Installation
Jitar can be used in new and existing projects.
New projects
We provide a CLI tool to quickly create a project with or without a frontend framework. To create a Jitar application, run in your terminal:
bash
npm install -g jitar
jitar init --name=project-name --template=reactYou can also use our vue template, or backend if you don't need a frontend framework.
Next, run the prompted commands.
bash
cd [project-name]
npm install
npm run build
npm run standaloneNow you should be able to access the application on http://localhost:3000
With Jitar all set up you're ready to build your application. In the DEVELOP section you can find more information on how to structure and build great applications.
Existing projects
For existing projects Jitar can be added as additional dependency by running the following command in your terminal:
bash
npm install --save jitarFor integrating Jitar in your project you can follow our tutorial.