Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(backend): Implement Authentication API Endpoints #2

Merged
merged 24 commits into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ae24083
feat(backend/db): Add database connection and initialization module
TKanX Dec 26, 2024
d35dcec
feat(backend): Connect and disconnect from the database in server.js
TKanX Dec 26, 2024
be76d36
feat(project): Refactor server startup to use child processes for fro…
TKanX Dec 26, 2024
1e151c6
feat(backend): Add body-parser middleware for JSON request handling
TKanX Dec 26, 2024
b51fd9c
feat(backend/middleware): Add request details preprocessing middleware
TKanX Dec 26, 2024
49ef8bd
feat(backend/middleware): Add response middleware for standardized AP…
TKanX Dec 26, 2024
430d559
feat(backend/services): Add JWT service for token generation, decodin…
TKanX Dec 27, 2024
6289678
feat(backend/services): Add password hash service for hashing and ver…
TKanX Dec 27, 2024
14cfd7f
feat(backend/middleware): Add authentication middleware for JWT verif…
TKanX Dec 27, 2024
f28c9b0
feat(backend/services): Add email service for sending emails and veri…
TKanX Dec 27, 2024
013b594
feat(backend/models): Add user schema and model for MongoDB
TKanX Dec 27, 2024
de7d529
feat(backend/services): Add user service for database interactions
TKanX Dec 27, 2024
0291cec
feat(backend/models): Add dateFormat field to user schema with defaul…
TKanX Dec 27, 2024
21387e7
feat(backend/utils): Add validation utilities for user input
TKanX Dec 27, 2024
40625f1
feat(backend/utils): Add rate limiter middleware to control request f…
TKanX Dec 28, 2024
ef4e348
feat(backend/auth): Add user authentication routes and controllers
TKanX Dec 28, 2024
e576867
feat(backend/auth): Add complete registration endpoint and update API…
TKanX Dec 31, 2024
84a491c
feat(backend/auth): Implement user login endpoint and update API docu…
TKanX Dec 31, 2024
79d8b42
feat(backend/auth): Add refresh token endpoint and update API documen…
TKanX Dec 31, 2024
2f7c717
feat(backend/auth): Add reset password endpoint and update API docume…
TKanX Dec 31, 2024
4ea86d9
feat(backend/auth): Add complete reset password endpoint and update A…
TKanX Dec 31, 2024
1351b81
fix(backend/utils): Add identifier validation function to support ema…
TKanX Dec 31, 2024
3d9ff76
fix(backend/services): Ensure user service email parameter is safely …
TKanX Jan 1, 2025
c08d58f
fix(backend/services): Ensure user service username parameter is safe…
TKanX Jan 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ GradeAnalyzer is a powerful and user-friendly tool designed to help students tra

Open the browser and navigate to the server address to `http://localhost` to access the GradeAnalyzer application. (Use the configured Nginx server address if applicable)

## Usage

The GradeAnalyzer application provides a RESTful API to interact with the GradeAnalyzer backend. The API endpoints are documented in the [API.md](backend/docs/API.md) file.

## License

This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details.
Loading
Loading