-
mkdir frogbase
-
cd frogbase
-
npm init
- package name: (frogbase)
- version: (0.0.1)
- description: An open source extended verision of pocketbase backend using node js and postgresql for your next SaaS software.
- entry point: (index.js)
- test command:
- git repository:
- keywords: database postgresql node saas
- author: Algoramming
- license: (ISC)
- About to write to /home/rahat/Projects/frogbase/frogbase/package.json:
- Is this OK? (yes)
-
code .
-
npm install --save dotenv (For environment variables)
-
npm install --save express (package of nodejs)
-
npm install --save-dev nodemon (For automatically restart the server when changes are made)
-
npm install --save pino (For logging)
-
npm install --save-dev pino-pretty (For pretty logging)
-
npm install --save-dev prettier (For code formatting)
-
npm install --save express-async-errors (For handling async errors)
-
npm install --save helmet (For security)
-
npm install --save morgan (For logging)
-
npm install --save compression (For compressing response)
-
npm install --save cors (For cross origin resource sharing)
-
npm install --save jsonwebtoken (For authentication)
-
npm install --save bcrypt (For hashing password)
-
npm install --save moment (For date and time)
-
npm install --save pg (For postgresql)
- npm uninstall --save
https://www.youtube.com/watch?v=MrN3lTp2Ndo