Open haydanu opened 4 years ago
@lighteagle @Dianpuspitasari86 @Taufik66645 @fariisiibrahiim -
@iqbalelyas @dannyGan @sharfinaega @iqbalmmm
@deannakazawa @alhajiry @robyafrizal @Zakintaliban
your-team-project-name
GitHub Organization
Netlify
Install dependencies needed to support this project
/user/register
/user/login
/user/logout
/user/all-user
Please install axios first before using it
axios
axios.post(`https://cobacoba-hayepe.herokuapp.com/user/register`, { { mobileNumber: your_number, firstName: your_first_name, lastName: your_last_name, dateOfBirth: your_birth_data, // can accept all data 06/07/1993 or 1993/12/01 gender: your_gender, // male or female email: your_email, password: your_password } }) .then(result => console.log(result)) .catch(error => console.log(error)); };
axios.post(`https://cobacoba-hayepe.herokuapp.com/user/login`, { { email: your_email, password: your_password } }) .then(result => console.log(result)) .catch(error => console.log(error)); };
axios.get(`https://cobacoba-hayepe.herokuapp.com/user/logout`) .then(result => console.log(result)) .catch(error => console.log(error)); };
axios.get(`https://cobacoba-hayepe.herokuapp.com/user/all-user`}) .then(result => console.log(result)) .catch(error => console.log(error)); };
React Redux
Team 1
@lighteagle @Dianpuspitasari86 @Taufik66645 @fariisiibrahiim -
Team 2
@iqbalelyas @dannyGan @sharfinaega @iqbalmmm
Team 3
@deannakazawa @alhajiry @robyafrizal @Zakintaliban
Task
your-team-project-name
inGitHub Organization
Netlify
Install dependencies needed to support this project
Rules
API Endpoints
/user/register
/user/login
/user/logout
/user/all-user
USAGE