This is a simple backend server for User registeration and User login made with Express and Typescript using MongoDB as main Database
Post /api/register
Parameter | Type | Description |
---|---|---|
email |
string |
Required. Your User email |
password |
string |
Required. You User password |
username |
string |
Required. Your user name |
GET /api/user/${email}
Parameter | Type | Description |
---|---|---|
email |
string |
Required. email of user to fetch |
This is not a complex and project ready Api, this is just for information and basics for new backend developers.Something more complex than this muse use PassportJs
Contributions are always welcome!
See contributing.md
for ways to get started.
Please adhere to this project's code of conduct
.
To compile this project to JavaScript
yarn watch
To actually run it
yarn start
If you have any feedback, please reach out to us at tofu.develops@gmail.com