Table of Contents
cd frontend && npm i
cp .env.example .env
cd server && npm i
You'll need MongoDB configurations. Go there and create Cluster, DB, etc.,.
cp .env.example .env
cd frontend && npm run dev
cd server && npm run dev
make setup
Set necessary data in both of the following .env files.
-
frontend/.env
-
server/.env
make up
That'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 setup
command: If themake setup
command fails, you can try deleting thenode_modules
folder in both thefrontend
andserver
directories. After deleting the folders, run themake setup
command 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_ORIGIN
configuration variable in theserver/.env
file. 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.