Skip to content

Ardent10/MercForms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MercForms Logo

MercForms

MercForms is a dynamic form builder and data collection platform built with React, Node.js, MongoDB, and Express. It provides an intuitive user interface for creating and sharing forms, collecting responses, and more.

Features

  • Dynamic Form Builder: Easily create forms with various question types such as multiple-choice, paragraphs, and more.

  • Form Sharing: Share your forms with others and gather their responses.

  • Image Embedding: Enhance your forms by embedding images.

  • User Responses: View and analyze responses from users.

  • Form Link Sharing: Share form links for easy access.

  • Form Invite via Email: Send form invites via email to your contacts.

Prerequisites

Before you begin, ensure you have met the following requirements:

  • Node.js and yarn installed.
  • MongoDB installed and running.
  • Access to SMTP email service for email functionality.

Installation

  1. Clone the repository:
git clone https://github.com/your-username/MercForms.git
cd MercForms
  1. Install server dependencies:
cd backend
yarn
  1. Install client dependencies:
cd merc-forms
yarn
  1. Create a .env file in both the server and client directories and add the following environment variables:
# Server .env
JWT_SEC_KEY=your_secret_key
MONGODB_URI=mongodb://localhost:27017/your_db_name
PORT=5000
SERVER_URL=http://localhost:5000

# Email Configuration
MAIL_SERVER=your_email_server
MAIL_PORT=your_email_port
MAIL_HOST=your_email_host
MAIL_PASSWORD=your_email_password
MAIL_ID=your_email_id

# Client .env
REACT_PUBLIC_API_BASE_URL=http://localhost:5000/api

Usage

  1. Start the server:
cd backend
yarn dev
  1. Start the client:
cd merc-forms
yarn dev
  1. Access the MercForms application in your web browser at http://localhost:3000.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments


Note: Replace placeholders like your-username, your_secret_key, your_db_name, your_email_server, your_email_port, your_email_host, your_email_password, and your_email_id with your actual values.

Releases

No releases published

Packages

No packages published

Languages