The project uses NESTJS as its backend framework which internally using express and mongodb as its db layer and jest for testing

Make sure you have mongodb install on your machine and replace environment variables with yours in .env file (including mailtrap for token and domain)

To install project dependencies: npm install

To run project : npm run start

To run project in dev mode : npm run start:dev

To run unit test : npm run test

Swagger Documentation can be found in localhost:4000/api

A sample curl request

curl -X 'POST' \ 'http://localhost:4000/post-form' \ -H 'accept: */*' \ -H 'Content-Type: application/json' \ -d '{ "firstName": "ga", "lastName": "ga", "email": "wa@gmail.com", "message": "ege" }'