Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 1001 Bytes

README.md

File metadata and controls

30 lines (27 loc) · 1001 Bytes

Setting up backend

git clone git@github.com:kwen0/timesheet-app-backend.git
cd timesheet-app-backend
npm install
npm run devStart

Importing sample data from the csv file into mongodb database

  • If you do not have mongodb installed, please install it by following the instructions here
  • Navigate to the timesheet-app-backend directory in your terminal and run the following command:
mongoimport --db=data --collection=timesheets --type=csv --headerline --file=data.csv
  • Your terminal should say:
connected to: mongodb://localhost/
588 document(s) imported successfully. 0 document(s) failed to import.

Setting up frontend

git clone git@github.com:kwen0/timesheet-app-frontend.git
cd timesheet-app-frontend
npm install
npm start

Screenshot

image