π EvelynContact-API
A minimalist POST-only contact form backend built with Node.js, Express.js, and MongoDB β made to listen.
Because even an API should be capable of hearing you out. πͺ½
- POST-only endpoint: /api/contact
- Accepts JSON payload:
{
"name": "Your Name",
"email": "your@email.com",
"message": "Your message"
}
- Saves messages to MongoDB
- Input validation
- Clean, modular structure (MVC)
- Powered by intention π€
β Node.js
β Express.js
β MongoDB (via Mongoose)
β dotenv
β Postman (for testing)
π > Getting Started
- Clone the repo
git clone https://github.com/ricoaprillananda/EvelynContact-API.git
cd EvelynContact-API
- Install dependencies
npm install
- Add .env file
PORT=5000 MONGO_URI=your-mongodb-uri-here
- Run the server
npm run dev
Method: POST
URL: http://localhost:5000/api/contact
Headers (pgsql):
Content-Type: application/json
Body (json):
{
"name": "Rico",
"email": "rico@evelynlove.com",
"message": "EvelynContact is alive π"
}
A form is not just an input. Itβs a message. A whisper into the void, hoping someone listens. EvelynContact was built to listen.

