For setting up our app MediCoPharma, make sure you have Node.js installation.
Clone our repository
git clone https://github.com/Divya-Raj7488/Techshila
Go to backend and run the backend server
cd backend
npm install
node server.js
Add a .env
file for database setup
PORT = 3000
DATABASE_URI = {URI}
LOGIN_SECRET_TOKEN = {TOKEN}
REFRESH_SECRET_TOKEN = {TOKEN}
Go to frontend and run the frontend server
cd frontend
npm install
npm run dev