Build an E-learning Website Using Elixir
In this project, we’ll develop an e-learning course catalog website using Elixir plugs. This website will also include search functionality. Each course will have a title, an image, an author name, a status indicating whether it’s paid or free, a description, and a “Visit Website” button. The website will also allow users to search for the courses that are available in the search bar.
A preview of the final layout of the catalog is given below:
We’ll build this project step-by-step. We’ll initially have to implement the course catalog. For the implementation, we’ll have to fetch the data from the seeds and insert it into the PostgreSQL database and then load it into active records.
Once the layout is ready, we’ll add search functionality to our web application. When a user searches for a course name, our application will search the keyword among all the course names and render the relevant courses.
The sole motivation for using Elixir plugs is that they handle a lot more requests per second compared to Phoenix.