Application to view forms posted by the community of users, where users can:
- save forms with their details.
- receive email confirming that the form was saved successfully.
MERN stack application.
- MongoDB
- ExpressJS
- ReactJS
- NodeJS
- Axios
- Ant-design
- Cors
- Dotenv
- There are two main folders, namely
backend&frontendwhere the code for backend and frontend resides respectively.
- You should have
nodeinstalled on your machine. - For database, you can either use mongoDB atlas which is cloud db or use your local db server using mongoDB compass.
- Clone the repository.
- After cloning the repo, switch to
backendfolder using:cd backend
- Now run
npm installto install the backend dependencies. - After installing dependencies, run
npm run serverto start the server which should load here. - Go back to the root of the repo, and switch to
frontendfolder using:cd frontend
- Now run
npm installto install the frontend dependencies. - After installing dependencies, run
npm startto start the UI which should load here.
- In order to run this project using local db you should have MongoDBCompass installed.
- In order to connect to local mongoDB database you need to replace the mongoDB URI inside
backend\config\keys.jsto'mongodb://127.0.0.1:27017/Xmeme'(including single quotes) whereXmemeis the db name. You can use your choice of db name.
- I am always an email/ linkedin ping away for the feedbacks to improve this further or add new functionalities or discussing new ideas (not regarding this project in particular).