Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: fifocode/nodejs-backend-architecture-typescript

Libraries & Docker Upgrades

05 Jan 21:37
Compare
Choose a tag to compare
Loading
2.0.3upgrade docker images
Assets2
Loading

"v1" in routes path is removed

22 Dec 05:29
Compare
Choose a tag to compare
Loading

In general APIs with v1 in the routes directory is not a good way to handle versioning. This has been removed from the project.
Now{host}/v1/login will become{host}/login

Loading

2.0.0

19 Dec 18:48
Compare
Choose a tag to compare
Loading

This is major update to the project and not compatible with the version 1.x.x

Major Changes

  1. Redis Cache Implementation
  2. Upgraded to Mongoose 6.8.0
  3. static class member replace with module default exports
  4. All libraries are updated to latest version
  5. Change in project structure
  6. Addition of API endpoint permission system
  7. vscode task to generate template for route, models, and repository
Loading

Migrate to Authorization Bearer Scheme

11 Apr 15:49
Compare
Choose a tag to compare
Loading
  1. The headers for the protected APIs has been migrated to the standardAuthorization header with theBearer scheme.
  2. x-user-id header has been removed.

Earlier:

GET /v1/profile/my// Headersx-api-key: GCMUDiuY5a7WvyUNt9n3QztToSHzK7UjContent-Type: application/jsonx-access-token: <your_token_received_from_signup_or_login>x-user-id: <your_user_id>

Now:

GET /v1/profile/my// Headersx-api-key: GCMUDiuY5a7WvyUNt9n3QztToSHzK7UjContent-Type: application/jsonAuthorization: Bearer <your_token_received_from_signup_or_login>
Loading

Clean interface naming convension

03 Apr 20:20
Compare
Choose a tag to compare
Loading

The naming convention has been changed for all the interfaces:

Earlier:

exportinterfaceIUserextendsDocument{name:string;        ...}constUser=model<IUser>(DOCUMENT_NAME,schema,COLLECTION_NAME);exportdefaultUser;

Now:
IUserUser andUserUserModel

exportdefaultinterfaceUserextendsDocument{name:string;        ...}exportconstUserModel=model<User>(DOCUMENT_NAME,schema,COLLECTION_NAME);

Similar changes forIApiKey,IRole,IKeystore, andIBlog

Loading

Release Version 1.0.0

03 Apr 14:12
d806881
This commit was created on GitHub.com and signed with GitHub’sverified signature. The key has expired.
GPG key ID:4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.
Compare
Choose a tag to compare
Loading
Update README.md
Loading

[8]ページ先頭

©2009-2025 Movatter.jp