/dbs

Primary LanguageTypeScript

Create a new Vite React-TS application

https://developer.okta.com/blog/2022/03/14/react-vite-number-converter

npm init vite@latest YOUR-PROJECT-NAME-HERE -- --template react-ts
cd YOUR-PROJECT-NAME-HERE
npm install
npm run dev

And add an API

Add API to Vite React App: https://dev.to/xjamundx/adding-a-rest-api-to-your-vite-server-in-5-seconds-270g Handle async errors in express app: https://github.com/davidbanham/express-async-errors/

Layout manager

npm package: https://npm.io/package/flexlayout-react repository: https://github.com/caplin/FlexLayout

Postgres Client

https://www.npmjs.com/package/pg https://www.npmjs.com/package/postgresql-client

Docker

docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=sergtsop -d postgres