Backend
Databases, Prisma, monorepos & server-side tooling.
5 notes
Initializing a TypeScript Project
How to intiliaze a ts project? Create a folder using terminal use mkdir Then use pwd to access the path Then in vscode open it using the open folder option npm init –y (initialize a empty package.json) npm install typescript npx tsc –init (initialize a tsconfi
PostgreSQL
To identify who is using mongodb, firebase Go to api calls and see the id field if the id field contains __id: after this there is a object id then See the eg Mongo db has horizontal scaling POSTGRESS WE HAVE TO REALLY GOOD AT MONGO DB is a no sql databases ,
Prisma
Cloudfare for servers or Amazon dynamodb they do everything themselves scales well and expensive also Firebase also good ORMS (Object Relational Mapping) 1. Boring official defination ORM stands for Object-Relational Mapping, a programming technique used in so
Monorepos & Turborepo
Search for dubinc/dub there the monorepo concept is used Its like weired way of structuring the project What are monorepos As the name suggests, a single repository (on github lets say) that holds all your frontend, backend, devops code. Few repos that use mon
Week 10
Single page loader When we use to switch from one page to another in earlier time(html,css,js) there is a refresh loader in the top. SPL is like when you are not switching the whole page just some content is changing and the top bar remains the same. You are c