Skip to content

quangvinh2080/last

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

My hobby project of learning FastAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published