The LunarLoom User Service is responsible for managing user data within the LunarLoom microservice chat application. It utilizes NodeJS, express, mongodb to securely handle our users in lunarloom chat app
- Node JS
- Express
- MongoDB
Error Handling:
All endpoints return a JSON object with success: false and a message describing the error in case of failures.
Common error codes:
400: Bad Request
401: Unauthorized
404: Not Found
422: Unprocessable Entity
500: Internal Server Error
Once the authentication service is running locally, it provides endpoints for add user, remove user, edit user profiles , add friend etc...
Use these endpoints to controll users in services within the LunarLoom application.
Contributions are welcome! To contribute to this project:
-
Fork the project
-
Clone the fork
git clone https://github.com/<your-username>/LunarLoom-user-service
-
Add Upstream
git remote add upstream https://github.com/LoomingLunar/LunarLoom-user-service
-
Craete a new branch
git checkout -b feature
-
Make your changse
-
Commit your changes
git commit -am "Add new feature"
-
Update main
git checkout main git pull upstream main
-
Rebase to main
git checkout feature git rebase main
if there is any conflict you need to fix it.
-
Push to the branch
git push origin feature
-
Create new Pull Request
LunarLoom Auth Service - Auth Service for LunarLoom End To End Encrypted Chat App.
Copyright © 2023 LunarLoom
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.