Online Store
The application
Here we have the list of available products to buy. By selecting the “Add Product” button, we are redirected to a page where we can insert the information about a new product to be stored on the database. We can also edit or delete a specific product.
Used Technologies
Client Side
On this side, there is the index file that shows directly the information loaded from the database. There is also another file for a product update. Here, “ejs” is introduced.
Server Side
Here there is a file that handles the operations. It receives requests from the client side and interacts with the database (this one made on MongoDB). Then sends the response back to the client side. This file is manage by the server.
The Experience
Important for operations with MongoDB. But there is a different approach, since there is the use of ejs for direct load of information and without having a specific XMLHTTPRequest.
Please, click here to access the site.