Skip to content

A simple backend that allows for user registration and login to help Code For BCS members learn React

License

Notifications You must be signed in to change notification settings

codeforbcs/codeforbcs-test-backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codeforbcs-test-backend

A simple backend that allows for user registration and login to help Code For BCS members learn React

DEPLOYED URL: https://codeforbcs-test-backend.herokuapp.com/

ENDPOINTS

• POST https://codeforbcs-test-backend.herokuapp.com/api/register

takes

{
"username": [insert username],
"password": [insert password]
}

returns

{
"id": [user id in database],
"username": [username],
"password": [hashed password]
}

• POST https://codeforbcs-test-backend.herokuapp.com/api/register

input

{
"username": [insert username],
"password": [insert password]
}

returns

{
"message": "Welcome [username] 😁",
"token": [token]
}

About

A simple backend that allows for user registration and login to help Code For BCS members learn React

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%