Skip to content

pdfassistant-ai/pdfassistant-strapi

Repository files navigation

🚀 Getting started with Strapi

Strapi comes with a full featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.

localhost - IPv4 vs. IPv6

If you're having issues sending calls to your Strapi instance, the issue could be related to Node.js.

In Node versions 18+, Node defaults to resolving the string localhost to ::1, the IPv6 format for the loopback address. It seems that Strapi is not bound to the IPv6 address in all cases, instead defaulting to the IPv4 loopback address, 127.0.0.1.

When a Node project (such as a Nuxt site) attempts to resolve localhost to ::1 while Strapi is bound to 127.0.0.1, the Nuxt site's API calls won't be routed to the server properly. You might experience this if you can connect to the Strapi Admin dashboard, or can send requests via cURL, but receive 500 responses for calls sent from a Nuxt site.

This can be fixed by changing the Strapi server's URL in your .env from

http://localhost:1337/

to explicitly using the IPv4 loopback address like:

http://127.0.0.1:1337/

develop

Start your Strapi application with autoReload enabled. Learn more

npm run develop
# or
yarn develop

start

Start your Strapi application with autoReload disabled. Learn more

npm run start
# or
yarn start

build

Build your admin panel. Learn more

npm run build
# or
yarn build

⚙️ Deployment

Strapi gives you many possible deployment options for your project including Strapi Cloud. Browse the deployment section of the documentation to find the best solution for your use case.

📚 Learn more

  • Resource center - Strapi resource center.
  • Strapi documentation - Official Strapi documentation.
  • Strapi tutorials - List of tutorials made by the core team and the community.
  • Strapi blog - Official Strapi blog containing articles made by the Strapi team and the community.
  • Changelog - Find out about the Strapi product updates, new features and general improvements.

Feel free to check out the Strapi GitHub repository. Your feedback and contributions are welcome!

✨ Community

  • Discord - Come chat with the Strapi community including the core team.
  • Forum - Place to discuss, ask questions and find answers, show your Strapi project and get feedback or just talk with other Community members.
  • Awesome Strapi - A curated list of awesome things related to Strapi.

🤫 Psst! Strapi is hiring.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors