Dec 13, 2020

Mailing List Form with Express and CSV

Mailing list sign-up form with Node, Express and CSV

Made with: Node and Express

Source Files


This is a simple server-side application made with Node and Express.

Instead of using a more advance data base, we used a super simple CSV file to store our data, and took advantage of the fs Node module and the neat-csv package to convert string information from our CSV database into an array of objects that we can then pass along to our success template made with Pug. The success page displays all the entries of our CSV file.

To try it in your computer you can clone the repository and then type nodejs app.js from the command line.


Content licensed under CC0-1.0 | Code licensed under GNU GPLv3