npm install
- development:
npm run dev
- production:
npm run prod
- test:
npm run test
- Fastify
- MongoDB with Mongoose
example
erDiagram
USER ||--|| ROLE: is
USER ||--o{ PUB: create
USER }o--|| PUB: like
USER {
string email
string passwordHash
string username
}
ROLE {
string name
}
PUB {
string title
string text
string image_path
date created_at
}