This is the repository for the backend of the open-source PicScape project. PicScape serves as an archive for profile pictures, banners, and wallpapers. On PicScape, users can discover and share stunning and aesthetic artwork, enhancing their online presence or desktop aesthetics.
npm run docker:dev
npm run docker:prod
For the complete functionality of this project, the frontend is essential.
POST /auth/login
The endpoint provides the JWT authentication key only if the email and password sent in the request body correctly correspond to a registered user.
POST /api/register
This endpoint receives a request with a password, email and username in the body, then adds it to the "Account" collection.
GET /fetch/account
This endpoint responds with the account information corresponding to the token contained in the "Authorization" header.
POST /fetch/account/:username
This endpoint responds with the account information corresponding to the username specified in the parameter ":username".
PicScape is a relatively new project and it may currently lack some functionality and features. However, I am continually improving the project in the future. Additionally, PicScape will be available as a fully functional service in the future, ready for you to use.
If you encounter any problems while using PicScape or have suggestions for improvement, please don't hesitate to open an issue on the GitHub repository. Your feedback is crucial in helping me identify areas for enhancement and address any issues that arise.
To report an issue:
- Go to the Issues section of the repository.
- Provide a clear and detailed description of the problem you've encountered or the feature you'd like to suggest.
- If possible, include steps to reproduce the issue or examples to clarify your suggestion.
- Add any relevant files.
Thank you for your help.