Skip to content

Tanaykmr/TaskMaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskMaster

Follow the given steps to set up the project:

  1. create a .env.local in config in server
cd server
mkdir config
cd config
touch .env.local
  1. In .env.local, add 2 variables named JWT_SECRET(enter a string of your choice) and MONGOOSE_URL and add your MongoDB connection string here.
  2. while in server, install all dependencies using npm i
  3. Your backend is now ready, to set up the frontend, navigate to client and create a file named ```.env````
cd client
touch .env
  1. in .env, create a variable named VITE_BASE_URL and set it's value as http://localhost:3000
  2. Back in client, execute npm i to install all dependencies
  3. Execute npm run dev in client to start the frontend
  4. Execute tsc in server to compile all the typescript files
  5. Then execute node dist/ in server to start the backend
  6. You are now ready to go!