Since one month me and my team are working on a project with React as frontend and Strapi as our backend.
We need to do a form that has to automatically send e-mails by using the Strapi e-mails plugin.
However, we're still beginners with those technologies, and we aren't able to implement this kind of functionnality.
Is anyone familiar with Strapi and also this plugin ?
We don't find a lot of tutorials and documentation about it on the web.
Thank your for paying attention.
you can follow instructions of this guide - https://strapi.io/documentation/3.0.0-beta.x/guides/send-email.html#introduction
You can create a custom route/controller to manage your contact form.
Here is an example - https://strapi.io/documentation/3.0.0-beta.x/concepts/controllers.html#example
Make sure to create a POST route.
Then in your controller, get your form data with ctx.request.body
Related
Hi guys I’m trying to bulid a website which django works as an rest-api and react works as a front side. I manage to do the whole thing just fine and about to deploy it using aws. But there is one thing I couldn’t really get. Inside my django project I have an app that uses only django template to render things to front. And other apps are working only as apis to get and post things via react. Is it possible to deploy this kind of structure without any special options? I searched internet for a while but I couldn’t really find an example that fits my situation. Thanks!
Yes, you should be able to deploy it without extra options: you can have one Django template view to host the React app entry point, and the rest would be Rest API views that are accessed by React.
i have completed an e-commerce project with pure django and want to transform it to Django Rest Framework with React,
i just want to know if the use of Sessions to create a cart would still be the same or is there something else or a different aproach to keep cart functionality,
i have been looking at some github projects to see how it can be done ,and just got me confused, if someone can clear that out for me, much much apreciated,
thank you,
I understood that it is possible to set cookies or a local storage with react and receive the info directly to the Django backend from there, so there is no need using sessions (it still totally possible but apparently not preferred)
I am a web developer tries to learn React.js. I am thinking about a blog for my first React project. Based on articles and tutorials I have read in the past few days, I am thinking about to use Node.js, Express.js and MongoDB for my server side and React.js for the front-end. Before I start, I want to be clear on few questions I have.
Are those enough to build a blog? Can React.js be used for UI without other template library such as Handlebars?? I have seen few articles using both React and Template engine and confused if I am going to need another template engine.
Can I use Json as communication method(Restful API) between the UI and the server?
Yes for all. But I suggest to use Redus(or Flax) to control all states.
I have been working on twitter feed in cordova using angularjs.
I have created app in my account and have generated consumer key and secret key and also access token.
User cordova-twitter plugin
cordovaOauth
I have tried this few links but nothing working for me.
Please help me out with this issue as am beginner with this twitter and could'nt find any tutorial for beginners.
Thank you everyone.
I found it difficult to implement twitter in cordova. Hence i went in other way. I have used PHP to get feeds from twitter and then call that api in my app.
Integrating in php was much simpler. But still if some one has better idea please post it here, it might be helpfull in future.
My assignment is to create a realtime application using Laravel and AngularJs. I have gone through some blogs and youtube videos. But i am not able to decide what are the exact technologies i should use.
I have created REST API in Laravel and frontend in AngularJs. There are some modules in the application which requires data should be realtime.
Example : There is a job listing page having status property, This status should be automatically changed if the status of job is updated by someone else.
Suggestions would be really appreciated. Thanks in advanced.
in laravel 5.1 there is an option to use pusher,which is works like as socket.Using this i did an realtime chatting application.See the video it will help you to make sense how will you go
https://laracasts.com/lessons/broadcasting-events-in-laravel-5-1