nookies
Strapi
nookies | Strapi | |
---|---|---|
4 | 458 | |
2,212 | 60,244 | |
- | 0.7% | |
0.0 | 10.0 | |
10 days ago | about 5 hours ago | |
TypeScript | TypeScript | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nookies
-
Implementing Authenticated API Requests to Strapi
Additionally, you can take this a step further and store the JWT inside of a cookie. With this, instead of authenticating users on each request made on every Next.js page, you can first check if this JWT cookie is present. If it is not present, then you can proceed to authenticate the user. This is quite similar when building a login functionality. You will be using a third-party package called Nookies to implement this functionality.
-
How would you save user-defined settings like accent color in your nextjs website?
Should I use cookies using a package like nookies or just stick to local storage? I do not want a flash of style. What do you usually use for situations like this?
- How do you handle relogging in users?
-
Very lost with regards to Next JS authentication with a custom backend, any advice/input welcome
When the user submits the login form, you send an API request with their user/password. Your API handles it however you wish, and on success returns a user token. Using cookies (I've found the nookies library helpful for dealing with cookies), save that token locally, and then send that token along with every API request.
Strapi
-
How to Build an AI FAQ System with Strapi, LangChain & OpenAI
Strapi provides a centralized data managing platform. This makes it easier to organize, update, and maintain the FAQ data. It also automatically generates a RESTful API for accessing the content stored in its database.
-
Ask HN: Best OSS SQL Query Builder in Any Language
https://prisma.io is popular as I understand it. I've been trying out https://strapi.io the last week and am thoroughly impressed.
They both do much more than build queries. One big thing both do is automate database migration calculations. Strapi goes further and gives you a CMS and admin UI on top, as well as doing a lot more of the complex query building from a json object. Both still require a fundamental understanding of the data model and SQL
-
Headless CMS: Directus vs Payload vs Strapi in 2024
As of April 2024, Strapi's GitHub repository has garnered 59.7k stars and 7.5k forks, showcasing its widespread adoption. The project has also secured a substantial $45+ million in funding, cementing its position as a prominent player in the headless CMS space.
-
Type-Safe Fetch with Next.js, Strapi, and OpenAPI
const pages = await client.GET("/pages", { params: { query: { filters: { // @ts-ignore - openapi generated from strapi results in Record // https://github.com/strapi/strapi/issues/19644 path: { $eq: path, }, }, // @ts-ignore populate: { blocks: { populate: "*" }, }, }, }, });
-
Forgot password flow with Strapi and NextAuth
On a side note. Where do all these endpoints come from? Strapi is open source. We can read the source code. All these endpoint come from the Users and permissions plugin. So, if we go to Strapi on github and browse around the files a bit eventually you will find the auth.js file that contains all of the routes. You can also find the Strapi controllers in there if you're interested.
-
The Mechanics of Silicon Valley Pump and Dump Schemes
Strapi
-
Open-Source Headless CMS in 2024
Strapi: The Code Anarchist
-
Integrate Strapi on Nuxt
Strapi - Open source Node.js Headless CMS π
- Posthog is closing their Slack community in favor of forum
- Setup containerized Application in AWS ECS - Part 3/3
What are some alternatives?
react-keycloak - React/React Native/NextJS/Razzle components for Keycloak
Appwrite - Your backend, minus the hassle.
Next.js - The React Framework
KeystoneJS - The most powerful headless CMS for Node.js β built with GraphQL and React
next-api-og-image - :bowtie: Easy way to generate open-graph images dynamically in HTML or React using Next.js API Routes. Suitable for serverless environment.
AdminJS - AdminJS is an admin panel for apps written in node.js
SWR - React Hooks for Data Fetching
Ghost - Independent technology for modern publishing, memberships, subscriptions and newsletters.
nextjs-color-mode - β‘οΈ A helper for creating non-flickering and accessible themed applications
ApostropheCMS - A full-featured, open-source content management framework built with Node.js that empowers organizations by combining in-context editing and headless architecture in a full-stack JS environment.
vercel-toast - π¬ Framework-agnostic vercel design's toast component (β1KB Gzipped)
Directus - The Modern Data Stack π° β Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.