Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Cantara is a CLI tool to create Fullstack React applications in minutes
Learn how to use Cantara for your next project.
The development of this project is sponsored by Crystal Design GmbH.
npm install -g cantara
You can get a new Cantara project up and running on your local dev environment in less than 5 minutes:
Install the Cantara CLI.
npm install -g cantara
Requires Node.js version > 10
Create a new Cantara project.
Create your Cantara project with a single command:
# creates a new cantara project using the default starter
cantara init my-cantara-starter
This command creates a project with the following structure:
├───node-apps
│ ├───express-api
│ └───sls-api
├───packages
│ ├───core-api
│ └───random-image-widget
└───react-apps
└───random-image-app
Start the services in develop mode.
Now, move into your project's directory and start each application in a separate console:
cd my-cantara-starter
cantara dev random-image-app
cantara dev express-api
Tip: You can type cantara
without any parameters into your console to start an interactive CLI wizard.
Open code and start editing!
Your frontend app is now running at http://localhost:8080
and your backend API is running at http://localhost:3001
. Any code changes will update your application in real time.
Well done! At this point, you've got a working fullstack application waiting to be further developed. For a more in-depth guide on what you can do with Cantara, check out the official tutorial.
You can have multiple applications inside your Cantara project. There are 3 different types of applications. For each type, there is a respective folder inside of your cantara project:
To add a new application to your project, simply create a folder with the application name inside the parent folder of the respective application type, and put your source code inside that folder.
For example, let's say you wanted to add another frontend application to the project from the Getting-started tutorial. To do so, you create a new folder inside of the react-apps
folder called dashboard
, where you put the code for your admin dashboard.
...
└───react-apps
└───random-image-app
└───admin-dashboard # new react app
This project is still young and every contribution helps to turn this project into a mature tool that makes developer's lives easier.
Checkout our Contributing Guide to learn how you can start contributing to the project.
Licensed under the MIT License.
FAQs
![Cantara](docs/static/img/cantara.svg 'Cantara Logo')
The npm package cantara receives a total of 185 weekly downloads. As such, cantara popularity was classified as not popular.
We found that cantara demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.