Getting Started with Fastify-CLI. This project was bootstrapped with Fastify-CLI. In the project directory, you can run:
npm i: Install dependenciesnpm run dev: To start the app in dev modenpm start: For production mode
You can use for example postman to make this api call
- TYPE:
POST - ENDPOINT:
http://127.0.0.1:3000/ads/ - BODY
{
"name": "name",
"desc": "desc",
"file": "selected file"
}