Technologies used - MongoDB, Express, React and NodeJS.
cdinto the directory and runnpm installto install the required dependencies.- Create a .env file in the root directory and set two environment variables: set
MONGODB_URLas your MongoDB database URL and setJWT_SECRETas any random token. - Run
npm run devto start a dev server ornpm run startto start a production server. - You can also set
PORTin the .env file otherwise the server will use port 3000.
cdinto the directory and runyarn installto install the required dependencies.- Create a .env file in the root directory and set two environment variables: set
VITE_COOKIES_NAMEas any string and setVITE_API_URLas the URL that the backend is running on. - Run
yarn devto start a dev server.