Skip to content

Latest commit

 

History

History
56 lines (53 loc) · 1.81 KB

TODO.md

File metadata and controls

56 lines (53 loc) · 1.81 KB

todo

  • take a SSL certificate (https)
  1. role based access setting
  • Configure sendgrid mail to other mode once deployed?? The maximum limit of sendgrid??
  1. making mail noreply
  2. Change email button href in the .env and add twitter link
  3. remove CORS
  • CRON job

done

  1. Testing
  • turn image transformations on and add more optimizations once deployed and hosted
  • Check and fix npm vulnarabilities - done but recheck once deployed
  1. Deploy as soon as possible( Find the deploying platform first- Heroku??)
  2. Change tests to match asset upload logic change
  3. field validation discuss and finalize
  4. Change HOST_DOMAIN in the .env to the correct domain for image, pdf static GET url to be correct and remove port number in helpers/file_upload_handler=>function localUpload=> line 55
  • Build local file saving as well
  • Complete mail sending after discussing with oshan/ ruchira aiyala
  • Project update
  • Project get
  • Project delete soft delete?
  • Fixed name folder paths of cloudinary
  • Finish register
  • Finish login
  • Decouple mailsender abstract and impl logic
  • Comment all files
  • Create a email template for inviting users
  • Finish invite
  • Create project

restrictions

  • Email- sendgrid - 100 mails per day
  • Images - cloudinary ~ 200 image uploads per day(with transformations)

docker commands

  • to rebuild the server image
     docker build -t sasnaka-sansada .
  • to run the db, test db and server in the background and enter interactive mode(uncommenting the last line of the dockerfile)
      docker-compose up -d
      docker container ls
      docker exec -it <container_id> /bin/bash
  • or
   docker-compose run --service-ports db -d
 docker-compose run --service-ports sasnaka-backend
   ```
- to exit containers
```bash
   docker-compose down
   ```