Todo
Simple todo made with react, tailwind, postgres, knex, etc.
Installation
- Create a
.env
file in the server directory with this content
DB_HOST=localhost
DB_NAME=name
DB_USER=postgres
DB_PASSWORD=root
DB_PORT=5432
DATABASE_POOL_MIN=1
DATABASE_POOL_MAX=10
APP_PORT=5000
- Create a
.env
file in the client directory with this content
REACT_APP_BACKEND=http://localhost:5000
npm install
for /server and /clientnpm i knex -g
for /serverknex migrate:latest
----knex seed run
----npm run dev
----npm start
for client