Simply copy and paste the following command line in your terminal to create your first Strapi project.
npx create-strapi-app my-project
Short article for a long list of bugs resolved.
Adding features is good, offering a stable product is even better.
Implementing so many new functionalities also brought some bugs which led to a bad experience about the software. But don't worry! As announced in the latest release article, we have been working hard on stabilising your favorite API creation tool and adding a far better SQL support.
Using MySQL or PostgreSQL with Strapi was difficult. The tables were not created automatically, so you had to create them manually. That was really frustrating.
SQL tables and columns are now created automatically according to your models structure!
In an ideal world, SQL tables and columns should be created automatically according to your model schema. Since now, this is implemented in Strapi. Let's say you are creating an e-commerce API with a
product Content Type: the table
products will be created automatically. Just let the magic happen.
Tens of bugs have been fixed and enhancements added. The setup time has been drastically reduced in order to make contributions easier. Please take a look at the changelog for more informations.
Looking forward to try this new version?
1$ npm i strapi@alpha -g
1$ strapi -v
This should print
Create your first project:
1$ strapi new my-app
Choose your database credentials.
Start your server:
1 2$ cd my-app $ strapi start
If you are already building an API using Strapi, we recommend you to to migrate to this version. Don't worry, a fully detailed migration guide is available.
The next two weeks are also going to be dedicated to fixing bugs and improving the code base (using Prettier and ESLint).
After that, we will be able to add new features much more serenely.
Pierre created Strapi with Aurélien and Jim back in 2015. He's a strong believer in open-source, remote and people-first organizations. You can also find him regularly windsurfing or mountain-biking!