- take a SSL certificate (https)
- role based access setting
- Configure sendgrid mail to other mode once deployed?? The maximum limit of sendgrid??
- making mail noreply
- Change email button href in the .env and add twitter link
- remove CORS
- CRON job
- Testing
- turn image transformations on and add more optimizations once deployed and hosted
- Check and fix npm vulnarabilities - done but recheck once deployed
- Deploy as soon as possible( Find the deploying platform first- Heroku??)
- Change tests to match asset upload logic change
- field validation discuss and finalize
- 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
- Email- sendgrid - 100 mails per day
- Images - cloudinary ~ 200 image uploads per day(with transformations)
- 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
```