Skip to content

Latest commit

 

History

History
69 lines (47 loc) · 1.19 KB

README.md

File metadata and controls

69 lines (47 loc) · 1.19 KB

Last

Task reminders, measure by the last time you did them

image image image

Setup

Clone the project

git clone https://github.com/quangvinh2080/last.git
cd last

Setup backend

cd backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Setup frontend

cd frontend
npm install

Get service-account.json

  • Enable Google Sheets API
  • Create a new service account
  • Download its json file
  • Rename the file to service-account.json and place the file service-account.json in the backend folder

Create .env file

  • Clone .env.example file in frontend and backend folder to .env file
  • Update URI to your mongodb instance

Development

Start backend

cd backend
uvicorn main:app --reload

Start frontend

cd frontend
npm start

Production

Build frontend

npm run build