Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.13 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.13 KB

THE RAW SQL SOCIAL MEDIA API

installation

  1. clone this repository git clone https://github.com/Irtiza751/raw-sql-api.git
  2. cd into the raw-sql-api project then run npm install
  3. After installing all the dependencies run npm run start:dev & You should be fully setup now.

Project Structure

The src directory contains all the source code, & in the src folder the code is organize with the following folders (name & conventions).

  1. Modules folder -- (name_module) eg. auth_moudle etc.
  2. Controllers folder -- (name.controller.ts) eg. auth.controller.ts
  3. Lib folder -- (name.ts)

TODO

  • Create a User repository
  • Create a Todo repository
  • Create a Tokens repository
  • Prevent sending refresh token to the browser
  • Create the CRUD controller for todos
  • To update the todo alway send title & description both
  • Implement the auto login on token expiry
  • Add cascasde delete whene user delete a self account
  • Add the user profile image option as well

Refresh token rotation flow auth-expire-flow