A challenge project
- Languages: Node js(Javascript runtime environment)
To get a local copy of this project, Please follow these simple example steps.
- Node js Get it here
$ git clone https://github.com/benshidanny11/skipli-challenge-backend.git
you@your-Pc-name:~$ cd <skipli-challenge-backend>
Please remember to set environment variables using .env-example provided
- ACCOUNT_SID: A String Identifier (SID) is a unique key that is used to identify specific resources provided by Twillio.
- AUTH_TOKEN: An auth token for accing Twillio SMS services provided by Twillio.
- GIT_TOKEN: We need this token to increase the number of request rate per hour. Get it from Github developer settings
This this link is backend service and This is frontend.
Below are the endpoints
Endpoint | Methods | Functionalities | Data |
---|---|---|---|
/api/createaccesscode | POST | Create access code | phoneNumber: String (Body data) |
/api/validateaccessescode | POST | Validate access code | phoneNumber: String (Body data), accessCode: String (Body data) |
/api/searchgithubusers | GET | Search github users | query: String (Query string),page: Number (Query string), per_page: Number (Query string) |
/api/getgithubprofile/{id} | GET | Get one github user | id: String (Param) |
/api/likegithubuse | POST | Like github user | github_user_id: String (Query string), phone_number: String(Body data) |
/api/getuserprofile | GET | Get user profile | phone_number: String (Query string) |
👤 Daniel Urimubenshi
- GitHub: @benshidanny11
- Twitter: @DBenshi
- LinkedIn: Daniel Urimubenshi
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.