Hey, I simply lost motivation to do this project and finish it but still I'll explain how it here
To run the code first start the server:
npm install
this is to install dependencies, Then you start the server with:
npm run dev
this will run nodemon and your server (or mine) will be running live
Also I am using mngodb couse (I like it) and you have to create your own .env file for server to run
Here is what .env should look like
PORT=
DATABASE_UR=
EMAIL_USER=
EMAIL_PASS=
ACCESS_TOKEN_SECRET=
REFRESH_TOKEN_SECRET=
Now when your server is live its time to run React which is easier done than said
Just do
npm run install
and
npm start
This should be it, if anyone would wanna finish this godforsaken website I'll be more than happy to help. 0_0