Next.js Bootstrap Starter - Nice Template Navbar Header and Few Pages
Introduction In this post, we will do following: create a Next.js project…
May 01, 2021
In this post, we will see how we can create a content type. And, configure user permissions.
This post assumes you have installed strapi. See How to install Strapi backend
Open http://localhost:1337/admin/plugins/content-type-builder/content-types/
Click on Create New Collection Type
, and give it a name: article
Create two fields:
Save
Lets try to create a new article.
As I mentioned above, our two objectives here:
Do a GET request for all articles:
GET /articles
GET /articles/{id}
Now, if you try to create by anonymous user, you will get http error: 401
Because we have configured to create article only by authenticated users.
We will see this in next post, how we can create an article by REST API and an authenticated user.
Note: So far, we have only configured that only authenticated users can create/edit/delete the article. But, we do not want any authenticated user to update or delete any other article.
Lets see next post for configuring this.
Introduction In this post, we will do following: create a Next.js project…
Introduction This post is in contuation of our previous post: How to use Draft…
Introduction In this step-by-step tutorial, we will setup strapi headless CMS…
Introduction In our last post, we have seen a full example of Next.js with…
Introduction Next-auth is a fantastic library for abstracting handling of…
Introduction In this post, we will see How to load external images to your next…
Introduction This post has the complete code to send email through smtp server…
Introduction In a normal email sending code from python, I’m getting following…
Introduction In one of my app, I was using to talk to . I have used some event…
Introduction So you have a Django project, and want to run it using docker image…
Introduction It is very important to introduce few process so that your code and…
Introduction In this post, we will see a sample Jenkin Pipeline Groovy script…