This is the backend of woofi website
Pull the repository
git pull https://github.com/CC25-SF061/woofi-backend
Run
npm install
Start the backend
node index.js
- Postgresql
Easy to host and use
- Cloudflare R2
For hosting Image file
- Supabase
For hosting Database
- Brevo
- AWS S3 Client (for cloudflare R2)
- Casbin (rbac)
- Hapi.js
- Nodemailer
- Kyselsy (Database Query Builder)
- bcrypt
- pg
- dotenv
start the backend and see the /documentation route or this
- npm run migrate
For migrating database
- npm run migrate:down
Drop the database
- npm run migrate:reset
Drop the database and then migrate it