flow-pie / flow-pie/chamaa.api

Implement user model

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
HTML
Stars
3
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Create schema User:

{
name: String,
email: String,
phone: String,
walletAddress: String,
kycStatus: Boolean,
createdAt: Date
}

File: /src/models/User.js.

Add validation with Joi.

Add REST endpoint GET /api/v1/users/:id.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.