Closed benlittlenz closed 5 years ago
Create a register api in the client inside api/auth.
See this example code: https://github.com/kowhai-2018/Final-Project/blob/development/client/actions/auth.js
Please note this example code has the api inside the actions. We would like the api (superagent request) to be in api/auth.
API is already implemented in actions/auth.js - Just needs to be moved to api/auth.js and recalled in actions/auth.js
Create a register api in the client inside api/auth.
See this example code: https://github.com/kowhai-2018/Final-Project/blob/development/client/actions/auth.js
Please note this example code has the api inside the actions. We would like the api (superagent request) to be in api/auth.