-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Today, in this tutorial, we will be trying to make a URL shortener API. To achieve our goal, we will use a framework called express.js. In the future, you might be able to use this API for yourself, such as when you want to share a link with someone, but it's too long. If you ever get stuck along the tutorial, feel free to view the code in the repository, and if you have a better solution, feel free to submit a pull request.
If you want to use a different tool other then express, feel free to use it. Most of the frameworks are very similar to express (fastify for instance), but for this project I will be using express due to its simplicity.
Today, in this tutorial, we will be trying to make a URL shortener API. To achieve our goal, we will use a framework called express.js. In the future, you might be able to use this API for yourself, such as when you want to share a link with someone, but it's too long. If you ever get stuck along the tutorial, feel free to view the code in the repository, and if you have a better solution, feel free to submit a pull request.
Related posts
-
Build a Node.js Server With Fastify and TypeScript
-
Is it possible to call a cli tool from node using variables passed from the frontend?
-
Taking the JSNSD exam (OpenJS Node.js Services Developer Certification) - Review and Tips
-
tinyhttp: 0-legacy, tiny & fast web framework as a replacement of Express
-
The fundamentals of building a Docker image