Table of Contents
cd frontend && npm icp .env.example .envcd server && npm iYou'll need MongoDB configurations. Go there and create Cluster, DB, etc.,.
cp .env.example .envcd frontend && npm run devcd server && npm run devmake setupSet necessary data in both of the following .env files.
-
frontend/.env -
server/.env
make upThat's all!
Take a look other Make commands in this Makefile
If you encounter any issues during the setup or running of the application, you can refer to the following troubleshooting tips:
- Failure of
make setupcommand: If themake setupcommand fails, you can try deleting thenode_modulesfolder in both thefrontendandserverdirectories. After deleting the folders, run themake setupcommand again. - CORS error: If you come across a CORS (Cross-Origin Resource Sharing) error, ensure that you have entered the URL of your frontend application in the
ALLOWED_ORIGINconfiguration variable in theserver/.envfile. This allows the server to accept requests from it.
If you encounter any other bugs or issues while using the application, please help me improve it by opening a new issue here. I appreciate your feedback and will work towards resolving any reported problems.
Feel free to reach out if you have any further questions or concerns.