Skip to content

lthonny/trello_clone_backend

Repository files navigation

Clone Trello backend

Repository frontend https://github.com/lthonny/trello_clone_frontend

Core technology stack:

  • Node + Express
  • PostgreSQL
  • JWT + PASSPORT

ENV file:

Rename

.env.test.example to .env.test

.env.production.example to .env.production

.env.development.example to .env.development

Attention!

Goggle authorization will not work on non-custom ports, since they are registered in the GOOGLE API SERVICES.

Testings

npm run start:test

1) To download all project dependencies, run:

npm ci

2) Prepare db(Postgresql)

POSTGRESQL

  • docker container run -d --name=trello -p 5431:5432 -e POSTGRES_PASSWORD=secret -e PGDATA=/pgdata -v [PATH TO]:/pgdata postgres

[PATH TO] - the path where you created the folder to store the container

  • npm run db:create create a database inside container and tables

3) Run npm start

npm run start

🤝 Connect with me:

thonny | telegram thonny | Instagram thonny | VK