Create an Express web application that is generally an online gallery that you can upload your photo and represents it on the main page.
- Use template engine to view the HTML page from the express server.
- Use Multer package to handle the uploaded file to the server,
- Use Mongoose to save and retrieve data from Database.
server will run on port : 5000
In the project directory, you can run:
This will allow you to install all project packages that you need for the project
Runs the app in the development mode.
Open http://localhost:5000 to view it in the browser.