- clone this repository
git clone https://github.com/Irtiza751/raw-sql-api.git
- cd into the raw-sql-api project then run
npm install
- After installing all the dependencies run
npm run start:dev
& You should be fully setup now.
The src directory contains all the source code, & in the src folder the code is organize with the following folders (name & conventions).
- Modules folder -- (name_module) eg. auth_moudle etc.
- Controllers folder -- (name.controller.ts) eg. auth.controller.ts
- Lib folder -- (name.ts)
- 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